From f61875fe60247c3a1d123c9c6c9c2d3c60172595 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 14 Dec 2023 21:08:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-asset/README.md | 10 +- .../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 - .../reflect-config.json | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 .../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 | 3193 ++++++++++++ .../asset/v1p1beta1/AssetServiceGrpc.java | 328 +- .../asset/v1p2beta1/AssetServiceGrpc.java | 814 +++ .../asset/v1p5beta1/AssetServiceGrpc.java | 211 +- .../asset/v1p7beta1/AssetServiceGrpc.java | 203 +- .../AnalyzeIamPolicyLongrunningMetadata.java | 401 +- ...IamPolicyLongrunningMetadataOrBuilder.java | 35 +- .../AnalyzeIamPolicyLongrunningRequest.java | 635 ++- ...eIamPolicyLongrunningRequestOrBuilder.java | 67 +- .../AnalyzeIamPolicyLongrunningResponse.java | 259 +- ...IamPolicyLongrunningResponseOrBuilder.java | 24 + .../asset/v1/AnalyzeIamPolicyRequest.java | 610 ++- .../v1/AnalyzeIamPolicyRequestOrBuilder.java | 67 +- .../asset/v1/AnalyzeIamPolicyResponse.java | 1533 ++++-- .../v1/AnalyzeIamPolicyResponseOrBuilder.java | 83 +- .../cloud/asset/v1/AnalyzeMoveRequest.java | 572 ++- .../asset/v1/AnalyzeMoveRequestOrBuilder.java | 58 +- .../cloud/asset/v1/AnalyzeMoveResponse.java | 401 +- .../v1/AnalyzeMoveResponseOrBuilder.java | 36 +- .../asset/v1/AnalyzeOrgPoliciesRequest.java | 572 ++- .../AnalyzeOrgPoliciesRequestOrBuilder.java | 60 +- .../asset/v1/AnalyzeOrgPoliciesResponse.java | 1257 +++-- .../AnalyzeOrgPoliciesResponseOrBuilder.java | 77 +- ...AnalyzeOrgPolicyGovernedAssetsRequest.java | 602 ++- ...gPolicyGovernedAssetsRequestOrBuilder.java | 60 +- ...nalyzeOrgPolicyGovernedAssetsResponse.java | 3524 ++++++++----- ...PolicyGovernedAssetsResponseOrBuilder.java | 79 +- ...yzeOrgPolicyGovernedContainersRequest.java | 614 ++- ...icyGovernedContainersRequestOrBuilder.java | 60 +- ...zeOrgPolicyGovernedContainersResponse.java | 1597 ++++-- ...cyGovernedContainersResponseOrBuilder.java | 80 +- .../cloud/asset/v1/AnalyzerOrgPolicy.java | 1791 ++++--- .../asset/v1/AnalyzerOrgPolicyConstraint.java | 4014 +++++++++------ .../AnalyzerOrgPolicyConstraintOrBuilder.java | 112 + .../asset/v1/AnalyzerOrgPolicyOrBuilder.java | 60 +- .../java/com/google/cloud/asset/v1/Asset.java | 1621 +++--- .../google/cloud/asset/v1/AssetOrBuilder.java | 164 +- .../com/google/cloud/asset/v1/AssetProto.java | 670 +++ .../cloud/asset/v1/AssetServiceProto.java | 1673 +++++++ .../cloud/asset/v1/AttachedResource.java | 449 +- .../asset/v1/AttachedResourceOrBuilder.java | 45 +- .../v1/BatchGetAssetsHistoryRequest.java | 823 +-- ...BatchGetAssetsHistoryRequestOrBuilder.java | 105 +- .../v1/BatchGetAssetsHistoryResponse.java | 410 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../BatchGetEffectiveIamPoliciesRequest.java | 524 +- ...tEffectiveIamPoliciesRequestOrBuilder.java | 69 +- .../BatchGetEffectiveIamPoliciesResponse.java | 1973 +++++--- ...EffectiveIamPoliciesResponseOrBuilder.java | 62 +- .../cloud/asset/v1/BigQueryDestination.java | 547 +- .../v1/BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1/ConditionEvaluation.java | 380 +- .../v1/ConditionEvaluationOrBuilder.java | 24 +- .../google/cloud/asset/v1/ContentType.java | 110 +- .../cloud/asset/v1/CreateFeedRequest.java | 467 +- .../asset/v1/CreateFeedRequestOrBuilder.java | 44 +- .../asset/v1/CreateSavedQueryRequest.java | 564 ++- .../v1/CreateSavedQueryRequestOrBuilder.java | 64 +- .../cloud/asset/v1/DeleteFeedRequest.java | 344 +- .../asset/v1/DeleteFeedRequestOrBuilder.java | 60 + .../asset/v1/DeleteSavedQueryRequest.java | 347 +- .../v1/DeleteSavedQueryRequestOrBuilder.java | 35 +- .../cloud/asset/v1/EffectiveTagDetails.java | 469 +- .../v1/EffectiveTagDetailsOrBuilder.java | 49 +- .../cloud/asset/v1/ExportAssetsRequest.java | 841 ++-- .../v1/ExportAssetsRequestOrBuilder.java | 105 +- .../cloud/asset/v1/ExportAssetsResponse.java | 522 +- .../v1/ExportAssetsResponseOrBuilder.java | 42 +- .../java/com/google/cloud/asset/v1/Feed.java | 901 ++-- .../com/google/cloud/asset/v1/FeedName.java | 0 .../google/cloud/asset/v1/FeedOrBuilder.java | 115 +- .../cloud/asset/v1/FeedOutputConfig.java | 372 +- .../asset/v1/FeedOutputConfigOrBuilder.java | 26 +- .../com/google/cloud/asset/v1/FolderName.java | 0 .../google/cloud/asset/v1/GcsDestination.java | 463 +- .../asset/v1/GcsDestinationOrBuilder.java | 42 +- .../cloud/asset/v1/GcsOutputResult.java | 348 +- .../asset/v1/GcsOutputResultOrBuilder.java | 36 +- .../google/cloud/asset/v1/GetFeedRequest.java | 337 +- .../asset/v1/GetFeedRequestOrBuilder.java | 60 + .../cloud/asset/v1/GetSavedQueryRequest.java | 340 +- .../v1/GetSavedQueryRequestOrBuilder.java | 62 + .../v1/IamPolicyAnalysisOutputConfig.java | 1826 ++++--- ...amPolicyAnalysisOutputConfigOrBuilder.java | 64 +- .../asset/v1/IamPolicyAnalysisQuery.java | 3224 +++++++----- .../v1/IamPolicyAnalysisQueryOrBuilder.java | 139 +- .../asset/v1/IamPolicyAnalysisResult.java | 4427 +++++++++++------ .../v1/IamPolicyAnalysisResultOrBuilder.java | 91 +- .../asset/v1/IamPolicyAnalysisState.java | 363 +- .../v1/IamPolicyAnalysisStateOrBuilder.java | 33 +- .../cloud/asset/v1/IamPolicySearchResult.java | 1949 +++++--- .../v1/IamPolicySearchResultOrBuilder.java | 88 +- .../cloud/asset/v1/ListAssetsRequest.java | 798 +-- .../asset/v1/ListAssetsRequestOrBuilder.java | 97 +- .../cloud/asset/v1/ListAssetsResponse.java | 557 ++- .../asset/v1/ListAssetsResponseOrBuilder.java | 54 +- .../cloud/asset/v1/ListFeedsRequest.java | 312 +- .../asset/v1/ListFeedsRequestOrBuilder.java | 27 +- .../cloud/asset/v1/ListFeedsResponse.java | 406 +- .../asset/v1/ListFeedsResponseOrBuilder.java | 37 +- .../asset/v1/ListSavedQueriesRequest.java | 524 +- .../v1/ListSavedQueriesRequestOrBuilder.java | 56 +- .../asset/v1/ListSavedQueriesResponse.java | 483 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/MoveAnalysis.java | 529 +- .../cloud/asset/v1/MoveAnalysisOrBuilder.java | 43 +- .../cloud/asset/v1/MoveAnalysisResult.java | 554 ++- .../asset/v1/MoveAnalysisResultOrBuilder.java | 54 +- .../com/google/cloud/asset/v1/MoveImpact.java | 305 +- .../cloud/asset/v1/MoveImpactOrBuilder.java | 50 + .../cloud/asset/v1/OrganizationName.java | 0 .../google/cloud/asset/v1/OutputConfig.java | 463 +- .../cloud/asset/v1/OutputConfigOrBuilder.java | 34 +- .../google/cloud/asset/v1/OutputResult.java | 367 +- .../cloud/asset/v1/OutputResultOrBuilder.java | 26 +- .../google/cloud/asset/v1/PartitionSpec.java | 367 +- .../asset/v1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1/PubsubDestination.java | 312 +- .../asset/v1/PubsubDestinationOrBuilder.java | 27 +- .../asset/v1/QueryAssetsOutputConfig.java | 951 ++-- .../v1/QueryAssetsOutputConfigOrBuilder.java | 67 + .../cloud/asset/v1/QueryAssetsRequest.java | 1211 +++-- .../asset/v1/QueryAssetsRequestOrBuilder.java | 136 +- .../cloud/asset/v1/QueryAssetsResponse.java | 669 ++- .../v1/QueryAssetsResponseOrBuilder.java | 54 +- .../google/cloud/asset/v1/QueryResult.java | 596 ++- .../cloud/asset/v1/QueryResultOrBuilder.java | 57 +- .../google/cloud/asset/v1/RelatedAsset.java | 557 ++- .../cloud/asset/v1/RelatedAssetOrBuilder.java | 63 +- .../google/cloud/asset/v1/RelatedAssets.java | 510 +- .../asset/v1/RelatedAssetsOrBuilder.java | 45 +- .../cloud/asset/v1/RelatedResource.java | 384 +- .../asset/v1/RelatedResourceOrBuilder.java | 36 +- .../cloud/asset/v1/RelatedResources.java | 387 +- .../asset/v1/RelatedResourcesOrBuilder.java | 36 +- .../asset/v1/RelationshipAttributes.java | 538 +- .../v1/RelationshipAttributesOrBuilder.java | 55 +- .../com/google/cloud/asset/v1/Resource.java | 747 +-- .../cloud/asset/v1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1/ResourceSearchResult.java | 3482 ++++++++----- .../v1/ResourceSearchResultOrBuilder.java | 496 +- .../com/google/cloud/asset/v1/SavedQuery.java | 1530 +++--- .../google/cloud/asset/v1/SavedQueryName.java | 0 .../cloud/asset/v1/SavedQueryOrBuilder.java | 129 +- .../asset/v1/SearchAllIamPoliciesRequest.java | 679 ++- .../SearchAllIamPoliciesRequestOrBuilder.java | 75 +- .../v1/SearchAllIamPoliciesResponse.java | 484 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../asset/v1/SearchAllResourcesRequest.java | 795 +-- .../SearchAllResourcesRequestOrBuilder.java | 92 +- .../asset/v1/SearchAllResourcesResponse.java | 480 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../cloud/asset/v1/TableFieldSchema.java | 614 ++- .../asset/v1/TableFieldSchemaOrBuilder.java | 63 +- .../google/cloud/asset/v1/TableSchema.java | 394 +- .../cloud/asset/v1/TableSchemaOrBuilder.java | 36 +- .../java/com/google/cloud/asset/v1/Tag.java | 461 +- .../google/cloud/asset/v1/TagOrBuilder.java | 54 +- .../google/cloud/asset/v1/TemporalAsset.java | 677 ++- .../asset/v1/TemporalAssetOrBuilder.java | 51 +- .../com/google/cloud/asset/v1/TimeWindow.java | 402 +- .../cloud/asset/v1/TimeWindowOrBuilder.java | 34 +- .../cloud/asset/v1/UpdateFeedRequest.java | 451 +- .../asset/v1/UpdateFeedRequestOrBuilder.java | 43 +- .../asset/v1/UpdateSavedQueryRequest.java | 520 +- .../v1/UpdateSavedQueryRequestOrBuilder.java | 55 +- .../cloud/asset/v1/VersionedResource.java | 395 +- .../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 | 1184 +++-- .../IamPolicySearchResultOrBuilder.java | 55 +- .../cloud/asset/v1p1beta1/Permissions.java | 348 +- .../asset/v1p1beta1/PermissionsOrBuilder.java | 36 +- .../SearchAllIamPoliciesRequest.java | 509 +- .../SearchAllIamPoliciesRequestOrBuilder.java | 48 +- .../SearchAllIamPoliciesResponse.java | 481 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../v1p1beta1/SearchAllResourcesRequest.java | 679 ++- .../SearchAllResourcesRequestOrBuilder.java | 75 +- .../v1p1beta1/SearchAllResourcesResponse.java | 487 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/StandardResourceMetadata.java | 1152 +++-- .../StandardResourceMetadataOrBuilder.java | 138 +- .../cloud/asset/v1p1beta1/asset_service.proto | 0 .../google/cloud/asset/v1p1beta1/assets.proto | 0 .../google/cloud/asset/v1p2beta1/Asset.java | 1206 +++-- .../cloud/asset/v1p2beta1/AssetOrBuilder.java | 115 +- .../cloud/asset/v1p2beta1/AssetProto.java | 165 + .../asset/v1p2beta1/AssetServiceProto.java | 303 ++ .../BatchGetAssetsHistoryResponse.java | 428 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../cloud/asset/v1p2beta1/ContentType.java | 82 +- .../asset/v1p2beta1/CreateFeedRequest.java | 510 +- .../v1p2beta1/CreateFeedRequestOrBuilder.java | 53 +- .../asset/v1p2beta1/DeleteFeedRequest.java | 351 +- .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 60 + .../asset/v1p2beta1/ExportAssetsResponse.java | 432 +- .../ExportAssetsResponseOrBuilder.java | 34 +- .../google/cloud/asset/v1p2beta1/Feed.java | 728 ++- .../cloud/asset/v1p2beta1/FeedName.java | 0 .../cloud/asset/v1p2beta1/FeedOrBuilder.java | 89 +- .../asset/v1p2beta1/FeedOutputConfig.java | 392 +- .../v1p2beta1/FeedOutputConfigOrBuilder.java | 26 +- .../cloud/asset/v1p2beta1/GcsDestination.java | 374 +- .../v1p2beta1/GcsDestinationOrBuilder.java | 30 +- .../cloud/asset/v1p2beta1/GetFeedRequest.java | 343 +- .../v1p2beta1/GetFeedRequestOrBuilder.java | 60 + .../asset/v1p2beta1/ListFeedsRequest.java | 319 +- .../v1p2beta1/ListFeedsRequestOrBuilder.java | 27 +- .../asset/v1p2beta1/ListFeedsResponse.java | 411 +- .../v1p2beta1/ListFeedsResponseOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/OutputConfig.java | 372 +- .../v1p2beta1/OutputConfigOrBuilder.java | 26 +- .../asset/v1p2beta1/PubsubDestination.java | 319 +- .../v1p2beta1/PubsubDestinationOrBuilder.java | 27 +- .../cloud/asset/v1p2beta1/Resource.java | 684 ++- .../asset/v1p2beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p2beta1/TemporalAsset.java | 463 +- .../v1p2beta1/TemporalAssetOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/TimeWindow.java | 409 +- .../asset/v1p2beta1/TimeWindowOrBuilder.java | 34 +- .../asset/v1p2beta1/UpdateFeedRequest.java | 494 +- .../v1p2beta1/UpdateFeedRequestOrBuilder.java | 52 +- .../cloud/asset/v1p2beta1/asset_service.proto | 0 .../google/cloud/asset/v1p2beta1/assets.proto | 0 .../google/cloud/asset/v1p5beta1/Asset.java | 1206 +++-- .../cloud/asset/v1p5beta1/AssetOrBuilder.java | 115 +- .../cloud/asset/v1p5beta1/AssetProto.java | 132 + .../asset/v1p5beta1/AssetServiceProto.java | 125 + .../cloud/asset/v1p5beta1/ContentType.java | 96 +- .../asset/v1p5beta1/ListAssetsRequest.java | 697 ++- .../v1p5beta1/ListAssetsRequestOrBuilder.java | 79 +- .../asset/v1p5beta1/ListAssetsResponse.java | 562 ++- .../ListAssetsResponseOrBuilder.java | 53 +- .../cloud/asset/v1p5beta1/Resource.java | 684 ++- .../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 | 1391 ++++-- .../cloud/asset/v1p7beta1/AssetOrBuilder.java | 131 +- .../cloud/asset/v1p7beta1/AssetProto.java | 193 + .../asset/v1p7beta1/AssetServiceProto.java | 227 + .../asset/v1p7beta1/BigQueryDestination.java | 555 ++- .../BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1p7beta1/ContentType.java | 103 +- .../asset/v1p7beta1/ExportAssetsRequest.java | 846 ++-- .../ExportAssetsRequestOrBuilder.java | 105 +- .../asset/v1p7beta1/ExportAssetsResponse.java | 528 +- .../ExportAssetsResponseOrBuilder.java | 42 +- .../cloud/asset/v1p7beta1/GcsDestination.java | 469 +- .../v1p7beta1/GcsDestinationOrBuilder.java | 42 +- .../asset/v1p7beta1/GcsOutputResult.java | 355 +- .../v1p7beta1/GcsOutputResultOrBuilder.java | 36 +- .../cloud/asset/v1p7beta1/OutputConfig.java | 484 +- .../v1p7beta1/OutputConfigOrBuilder.java | 34 +- .../cloud/asset/v1p7beta1/OutputResult.java | 371 +- .../v1p7beta1/OutputResultOrBuilder.java | 26 +- .../cloud/asset/v1p7beta1/PartitionSpec.java | 373 +- .../v1p7beta1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1p7beta1/RelatedAsset.java | 494 +- .../v1p7beta1/RelatedAssetOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/RelatedAssets.java | 537 +- .../v1p7beta1/RelatedAssetsOrBuilder.java | 47 +- .../v1p7beta1/RelationshipAttributes.java | 540 +- .../RelationshipAttributesOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/Resource.java | 756 +-- .../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 | 2467 --------- ...IamPolicyLongrunningResponseOrBuilder.java | 9 - .../AnalyzerOrgPolicyConstraintOrBuilder.java | 65 - .../com/google/cloud/asset/v1/AssetProto.java | 548 -- .../cloud/asset/v1/AssetServiceProto.java | 1477 ------ .../asset/v1/DeleteFeedRequestOrBuilder.java | 35 - .../asset/v1/GetFeedRequestOrBuilder.java | 35 - .../v1/GetSavedQueryRequestOrBuilder.java | 37 - .../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 | 138 - .../asset/v1p2beta1/AssetServiceProto.java | 276 - .../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 | 200 - 506 files changed, 71525 insertions(+), 42782 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/main/resources/META-INF/native-image/com.google.cloud.asset.v1/reflect-config.json (100%) rename {owl-bot-staging/java-asset/v1p1beta1 => java-asset}/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p1beta1/reflect-config.json (100%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p2beta1/reflect-config.json (100%) rename {owl-bot-staging/java-asset/v1p5beta1 => java-asset}/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p5beta1/reflect-config.json (100%) rename {owl-bot-staging/java-asset/v1p7beta1 => java-asset}/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p7beta1/reflect-config.json (100%) 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 (64%) 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 (68%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java (64%) 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 (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPoliciesResponse.java (74%) 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 (77%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder.java (85%) 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 (73%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeOrgPolicyGovernedContainersRequestOrBuilder.java (82%) 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 (75%) 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 (67%) 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 (82%) 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 (68%) 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/EffectiveTagDetails.java (81%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java (85%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java (78%) 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 (80%) 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 (51%) 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 (72%) 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 (65%) 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 (90%) 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 (87%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java (94%) 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/Tag.java (71%) rename {owl-bot-staging/java-asset/v1 => java-asset}/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TagOrBuilder.java (71%) 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 (70%) 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 (72%) 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 (78%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java (90%) 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/BatchGetAssetsHistoryResponse.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponseOrBuilder.java (65%) 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/ExportAssetsResponse.java (68%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponseOrBuilder.java (70%) 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 (62%) 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 (69%) 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 (82%) 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 (71%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java (70%) rename {owl-bot-staging/java-asset/v1p2beta1 => java-asset}/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java (71%) 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 (91%) 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 (81%) 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 (68%) 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/java-asset/README.md b/java-asset/README.md index 89e9a433686b..c20c5ea40beb 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.28.0 + 26.29.0 pom import @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-asset - 3.35.0 + 3.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-asset:3.35.0' +implementation 'com.google.cloud:google-cloud-asset:3.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.35.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.36.0" ``` @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-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 288c70f788dc..08f5d0b22345 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 d60f7e31d7ae..e23ffc8e6a68 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 86f94bec64d3..01889e5cbd58 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.RequestParamsBuilder; 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 e3ee45d8c533..e8a72a34b3ec 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 cca504e0e280..4f82f45d2b72 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 ea2f1a629b6f..ce09c663d5ac 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 87cd76d668b9..12e47f96a410 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 4f7de37bd88d..3bf6b3b963d1 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 ff8fbe3f72a7..6cde321840a1 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 d4b55b0d4ada..ee51ca69c0d4 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 e90d4b63db8c..dd4224d005b5 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/main/resources/META-INF/native-image/com.google.cloud.asset.v1/reflect-config.json b/java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-asset/v1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1/reflect-config.json rename to java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1/reflect-config.json diff --git a/owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p1beta1/reflect-config.json b/java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p1beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-asset/v1p1beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p1beta1/reflect-config.json rename to java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p1beta1/reflect-config.json diff --git a/owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p2beta1/reflect-config.json b/java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p2beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-asset/v1p2beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p2beta1/reflect-config.json rename to java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p2beta1/reflect-config.json diff --git a/owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p5beta1/reflect-config.json b/java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p5beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-asset/v1p5beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p5beta1/reflect-config.json rename to java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p5beta1/reflect-config.json diff --git a/owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p7beta1/reflect-config.json b/java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p7beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-asset/v1p7beta1/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p7beta1/reflect-config.json rename to java-asset/google-cloud-asset/src/main/resources/META-INF/native-image/com.google.cloud.asset.v1p7beta1/reflect-config.json 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..e94cf5ca133a --- /dev/null +++ b/java-asset/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java @@ -0,0 +1,3193 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.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 java.lang.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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
+     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
+     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
+     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
+     * 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 java.lang.String methodName; + + AssetServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (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 76c02d94a419..925bf11696e8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,113 +35,146 @@ private AssetServiceGrpc() {} public static final java.lang.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..eeb65aa30cbf
--- /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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.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 java.lang.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 java.lang.String methodName; + + AssetServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (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 53da7fca5c3c..a7885405d4c0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p5beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,82 +35,96 @@ private AssetServiceGrpc() {} public static final java.lang.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 64% 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 6075f4096c78..adee7a69053e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p7beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,82 +35,92 @@ private AssetServiceGrpc() {} public static final java.lang.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 c73cbbd5d399..881129740f2f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Represents the metadata of the longrunning operation for the
  * AnalyzeIamPolicyLongrunning RPC.
@@ -11,46 +28,53 @@
  *
  * 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();
   }
 
-  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 @@ -58,11 +82,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 @@ -70,11 +98,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() { @@ -82,6 +113,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -108,8 +139,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; @@ -119,17 +149,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; @@ -152,98 +182,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.
@@ -251,33 +287,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();
@@ -291,13 +326,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();
     }
 
@@ -312,18 +348,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();
       }
     }
 
@@ -331,38 +369,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;
@@ -370,7 +409,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());
       }
@@ -400,19 +441,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) {
@@ -422,43 +463,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) { @@ -474,14 +535,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 { @@ -492,17 +556,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; @@ -515,11 +583,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); @@ -532,11 +604,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; @@ -544,43 +620,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); } @@ -590,12 +678,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(); } @@ -604,27 +693,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; @@ -639,6 +728,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..1136212d2696 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 b15ecba8e11b..27ef23d9d52f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A request message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -11,47 +28,55 @@
  *
  * 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();
   }
 
-  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 @@ -59,33 +84,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:
    *
@@ -106,6 +147,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 @@ -114,14 +156,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:
    *
@@ -142,16 +185,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 { @@ -162,12 +204,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 @@ -175,32 +222,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; @@ -212,8 +274,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -233,12 +294,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_); @@ -251,24 +310,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; @@ -297,98 +354,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].
@@ -396,33 +459,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();
@@ -442,13 +504,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();
     }
 
@@ -463,26 +526,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();
       }
     }
 
@@ -490,38 +555,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;
@@ -529,7 +595,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());
       }
@@ -567,31 +635,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) {
@@ -601,43 +669,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) { @@ -653,11 +741,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) { @@ -671,17 +763,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; @@ -694,11 +791,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); @@ -711,11 +812,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; @@ -723,36 +828,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_; @@ -760,6 +877,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:
      *
@@ -780,13 +899,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; @@ -795,6 +914,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -815,15 +936,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 { @@ -831,6 +951,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -851,18 +973,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:
      *
@@ -883,6 +1009,7 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { @@ -892,6 +1019,8 @@ public Builder clearSavedAnalysisQuery() { return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -912,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; @@ -927,42 +1058,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) { @@ -978,12 +1128,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) { @@ -997,18 +1151,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; @@ -1021,12 +1181,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); @@ -1039,58 +1203,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); } @@ -1100,12 +1282,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(); } @@ -1114,27 +1297,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; @@ -1149,6 +1332,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 8099515029ca..697042b8070f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
    *
@@ -55,10 +87,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:
    *
@@ -79,38 +114,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 7801cd3a6888..be7a3d06608a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -11,39 +28,43 @@
  *
  * 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();
   }
 
-  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;
@@ -55,8 +76,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -74,12 +94,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;
@@ -98,98 +119,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].
@@ -197,33 +224,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();
@@ -231,13 +257,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();
     }
 
@@ -252,7 +279,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;
     }
@@ -261,38 +289,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;
@@ -300,7 +329,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;
@@ -327,12 +358,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) {
@@ -342,9 +374,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);
     }
 
@@ -354,12 +386,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();
   }
@@ -368,27 +401,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;
@@ -403,6 +436,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..baf5972e5a7b
--- /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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/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 c0a021131098..63d6f87addd0 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * A request message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -11,47 +28,54 @@
  *
  * 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();
   }
 
-  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 @@ -59,33 +83,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:
    *
@@ -106,6 +146,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 @@ -114,14 +155,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:
    *
@@ -142,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 { @@ -162,6 +203,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
@@ -176,7 +219,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 @@ -184,6 +230,8 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -198,14 +246,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
@@ -220,14 +275,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; @@ -239,8 +299,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -260,12 +319,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_); @@ -278,24 +335,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; @@ -324,98 +379,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].
@@ -423,33 +483,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();
@@ -469,9 +528,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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
@@ -490,8 +549,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;
     }
@@ -499,17 +561,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();
       }
     }
 
@@ -517,38 +577,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;
@@ -556,7 +617,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());
       }
@@ -594,31 +656,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) {
@@ -628,43 +691,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) { @@ -680,11 +763,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) { @@ -698,17 +785,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; @@ -721,11 +813,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); @@ -738,11 +834,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; @@ -750,36 +850,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_; @@ -787,6 +899,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:
      *
@@ -807,13 +921,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; @@ -822,6 +936,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -842,15 +958,14 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ - public com.google.protobuf.ByteString - getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -858,6 +973,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -878,18 +995,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:
      *
@@ -910,6 +1031,7 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { @@ -919,6 +1041,8 @@ public Builder clearSavedAnalysisQuery() { return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      *
@@ -939,12 +1063,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; @@ -954,8 +1080,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
@@ -970,13 +1101,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
@@ -991,17 +1127,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
@@ -1016,7 +1159,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) { @@ -1032,6 +1177,8 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1046,10 +1193,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 { @@ -1060,6 +1208,8 @@ public Builder setExecutionTimeout( return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1074,13 +1224,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; @@ -1093,6 +1245,8 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1107,7 +1261,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); @@ -1120,6 +1276,8 @@ public Builder clearExecutionTimeout() { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1134,7 +1292,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; @@ -1142,6 +1302,8 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { return getExecutionTimeoutFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1156,17 +1318,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
@@ -1181,24 +1348,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); } @@ -1208,12 +1380,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(); } @@ -1222,27 +1394,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; @@ -1257,6 +1429,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 99fc9794d246..553d7db83be9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
    *
@@ -55,10 +87,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:
    *
@@ -79,12 +114,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
@@ -99,11 +136,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
@@ -118,11 +160,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
@@ -137,7 +184,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 04ce01ca99a7..3340631855b0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -11,62 +28,73 @@
  *
  * 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();
   }
 
-  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.
      * 
@@ -76,6 +104,8 @@ public interface IamPolicyAnalysisOrBuilder extends com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -84,9 +114,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]
@@ -97,6 +128,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int index);
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -107,6 +140,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     int getAnalysisResultsCount();
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -115,9 +150,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]
@@ -130,6 +167,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]
@@ -137,20 +176,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.
      * 
@@ -159,6 +202,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.
      * 
@@ -167,15 +212,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.
      * 
@@ -186,21 +235,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(); @@ -208,32 +260,36 @@ private IamPolicyAnalysis() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysis(); } - 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 @@ -241,18 +297,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.
      * 
@@ -261,13 +324,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]
@@ -277,10 +345,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]
@@ -290,11 +361,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]
@@ -308,6 +381,8 @@ public int getAnalysisResultsCount() {
       return analysisResults_.size();
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -321,6 +396,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
       return analysisResults_.get(index);
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -338,6 +415,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]
@@ -345,6 +424,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -353,9 +433,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.
      * 
@@ -363,10 +446,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.
      * 
@@ -374,11 +460,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.
      * 
@@ -390,6 +478,8 @@ public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -401,6 +491,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.
      * 
@@ -414,6 +506,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,8 +518,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -449,20 +541,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; @@ -472,24 +562,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; } @@ -510,8 +597,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(); @@ -522,89 +608,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 @@ -614,39 +706,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(); @@ -675,19 +770,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); } @@ -696,14 +794,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_); @@ -724,12 +826,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_; @@ -740,46 +842,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()); } @@ -801,9 +910,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_); } @@ -830,9 +940,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_); } @@ -864,50 +975,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) { @@ -917,38 +1031,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.
        * 
@@ -969,6 +1097,8 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** + * + * *
        * The analysis query.
        * 
@@ -987,6 +1117,8 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
        * The analysis query.
        * 
@@ -995,9 +1127,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; @@ -1010,6 +1143,8 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1027,6 +1162,8 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1039,6 +1176,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQuery return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis query.
        * 
@@ -1049,11 +1188,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.
        * 
@@ -1061,32 +1203,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]
@@ -1095,7 +1248,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 {
@@ -1103,6 +1257,8 @@ public java.util.List getAnal
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1119,6 +1275,8 @@ public int getAnalysisResultsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1135,6 +1293,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1158,6 +1318,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1178,6 +1340,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1200,6 +1364,8 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1.IamPolicyAnalysisRes
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1223,6 +1389,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1243,6 +1411,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1263,6 +1433,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1275,8 +1447,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);
@@ -1284,6 +1455,8 @@ public Builder addAllAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1303,6 +1476,8 @@ public Builder clearAnalysisResults() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1322,6 +1497,8 @@ public Builder removeAnalysisResults(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1335,6 +1512,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
         return getAnalysisResultsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1346,11 +1525,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]
@@ -1359,8 +1541,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 {
@@ -1368,6 +1550,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1377,10 +1561,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]
@@ -1391,10 +1577,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]
@@ -1403,16 +1592,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(),
@@ -1422,8 +1617,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]
@@ -1431,6 +1628,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1438,6 +1636,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1445,6 +1645,7 @@ public boolean getFullyExplored() {
        * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ @@ -1456,6 +1657,8 @@ public Builder setFullyExplored(boolean value) { return this; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1463,6 +1666,7 @@ public Builder setFullyExplored(boolean value) {
        * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -1473,25 +1677,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 { @@ -1499,11 +1713,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) { @@ -1513,11 +1730,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) { @@ -1527,11 +1747,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) { @@ -1548,11 +1771,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) { @@ -1566,11 +1792,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) { @@ -1586,11 +1815,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) { @@ -1607,11 +1839,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) { @@ -1625,11 +1860,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) { @@ -1643,18 +1881,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); @@ -1662,11 +1902,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) { @@ -1679,11 +1922,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) { @@ -1696,39 +1942,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 { @@ -1736,45 +1992,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(), @@ -1783,6 +2056,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) { @@ -1795,41 +2069,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; @@ -1841,20 +2118,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 @@ -1862,103 +2143,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]
@@ -1968,6 +2288,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBui
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1976,6 +2297,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1987,8 +2309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -2008,16 +2329,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; @@ -2027,22 +2347,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; } @@ -2063,106 +2382,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].
@@ -2170,33 +2493,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();
@@ -2218,9 +2540,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
@@ -2239,31 +2561,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_;
@@ -2274,38 +2601,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;
@@ -2313,7 +2641,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());
       }
@@ -2335,11 +2664,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_);
           }
         }
       }
@@ -2372,37 +2703,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) {
@@ -2412,45 +2746,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(); @@ -2464,14 +2817,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 { @@ -2482,17 +2839,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; @@ -2505,11 +2868,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); @@ -2522,75 +2888,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 { @@ -2598,13 +2992,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) { @@ -2614,15 +3012,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 { @@ -2630,13 +3033,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) { @@ -2653,16 +3060,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()); @@ -2673,15 +3086,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(); @@ -2695,13 +3113,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) { @@ -2718,16 +3140,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()); @@ -2738,16 +3165,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()); @@ -2758,16 +3191,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( @@ -2779,13 +3218,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) { @@ -2798,13 +3241,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) { @@ -2817,45 +3264,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 { @@ -2863,51 +3324,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(), @@ -2917,8 +3403,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]
@@ -2928,6 +3416,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Buil
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -2935,6 +3424,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2944,6 +3435,7 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ @@ -2955,6 +3447,8 @@ public Builder setFullyExplored(boolean value) { return this; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2964,6 +3458,7 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -2972,9 +3467,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); } @@ -2984,12 +3479,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(); } @@ -2998,27 +3493,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; @@ -3033,6 +3528,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..15c65793d4e4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 68% 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 88c597b56899..1e58d7301d44 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,34 +45,38 @@ private AnalyzeMoveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzeMoveRequest(); } - 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.
@@ -64,6 +86,8 @@ public enum AnalysisView
      */
     ANALYSIS_VIEW_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -73,6 +97,8 @@ public enum AnalysisView
      */
     FULL(1),
     /**
+     *
+     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -85,6 +111,8 @@ public enum AnalysisView
     ;
 
     /**
+     *
+     *
      * 
      * The default/unset value.
      * The API will default to the FULL view.
@@ -94,6 +122,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.
@@ -103,6 +133,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.
@@ -112,7 +144,6 @@ public enum AnalysisView
      */
     public static final int BASIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -137,49 +168,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;
@@ -197,9 +228,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
@@ -207,7 +241,10 @@ private AnalysisView(int value) {
    * (such as "projects/12345").
    * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The resource. */ @java.lang.Override @@ -216,14 +253,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
@@ -231,17 +269,18 @@ public java.lang.String getResource() {
    * (such as "projects/12345").
    * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -250,9 +289,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
@@ -261,7 +303,10 @@ public java.lang.String getResource() {
    * "organizations/123").
    * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The destinationParent. */ @java.lang.Override @@ -270,14 +315,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
@@ -286,17 +332,18 @@ public java.lang.String getDestinationParent() {
    * "organizations/123").
    * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -307,32 +354,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; @@ -344,15 +403,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); @@ -370,9 +430,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; @@ -382,17 +443,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; @@ -416,132 +476,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(); @@ -553,9 +617,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 @@ -574,8 +638,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; } @@ -597,38 +664,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; @@ -676,27 +744,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) { @@ -706,10 +778,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
@@ -717,14 +792,16 @@ public Builder mergeFrom(
      * (such as "projects/12345").
      * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -733,6 +810,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
@@ -740,16 +819,17 @@ public java.lang.String getResource() {
      * (such as "projects/12345").
      * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -757,6 +837,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
@@ -764,19 +846,25 @@ public java.lang.String getResource() {
      * (such as "projects/12345").
      * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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
@@ -784,7 +872,10 @@ public Builder setResource(
      * (such as "projects/12345").
      * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearResource() { @@ -794,6 +885,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
@@ -801,13 +894,17 @@ public Builder clearResource() {
      * (such as "projects/12345").
      * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -817,6 +914,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
@@ -825,14 +924,16 @@ public Builder setResourceBytes(
      * "organizations/123").
      * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -841,6 +942,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
@@ -849,16 +952,17 @@ public java.lang.String getDestinationParent() {
      * "organizations/123").
      * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 { @@ -866,6 +970,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
@@ -874,19 +980,25 @@ public java.lang.String getDestinationParent() {
      * "organizations/123").
      * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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
@@ -895,7 +1007,10 @@ public Builder setDestinationParent(
      * "organizations/123").
      * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDestinationParent() { @@ -905,6 +1020,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
@@ -913,13 +1030,17 @@ public Builder clearDestinationParent() {
      * "organizations/123").
      * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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; @@ -929,24 +1050,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. */ @@ -957,26 +1085,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. */ @@ -990,12 +1127,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() { @@ -1004,9 +1144,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); } @@ -1016,12 +1156,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(); } @@ -1030,27 +1170,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; @@ -1065,6 +1205,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 64% 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 5842dd8e621a..e586fa1692c0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -15,11 +33,16 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * (such as "projects/12345").
    * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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
@@ -27,13 +50,17 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * (such as "projects/12345").
    * 
* - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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
@@ -42,11 +69,16 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * "organizations/123").
    * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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
@@ -55,29 +87,37 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * "organizations/123").
    * 
* - * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @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 ce7bec25aa4c..2f85c548a154 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
@@ -59,6 +81,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.
@@ -67,11 +91,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.
@@ -84,6 +110,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.
@@ -96,6 +124,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.
@@ -104,12 +134,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;
@@ -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 < moveAnalysis_.size(); i++) {
       output.writeMessage(1, moveAnalysis_.get(i));
     }
@@ -136,8 +165,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;
@@ -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.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;
   }
@@ -176,132 +204,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(); @@ -317,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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 @@ -338,9 +370,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; } @@ -365,38 +400,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; @@ -423,9 +459,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_); } @@ -457,25 +494,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) { @@ -485,21 +523,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.
@@ -515,6 +561,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.
@@ -530,6 +578,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.
@@ -545,6 +595,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.
@@ -552,8 +604,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();
@@ -567,6 +618,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.
@@ -586,6 +639,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.
@@ -607,6 +662,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.
@@ -614,8 +671,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();
@@ -629,6 +685,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.
@@ -636,8 +694,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());
@@ -648,6 +705,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.
@@ -667,6 +726,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.
@@ -678,8 +739,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);
@@ -687,6 +747,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.
@@ -705,6 +767,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.
@@ -723,6 +787,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.
@@ -730,11 +796,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.
@@ -742,14 +809,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.
@@ -757,8 +826,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 {
@@ -766,6 +835,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.
@@ -774,10 +845,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.
@@ -785,12 +858,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.
@@ -798,27 +872,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);
     }
 
@@ -828,12 +905,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();
   }
@@ -842,27 +919,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;
@@ -877,6 +954,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..860d559fc088 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 4b2e8d905dfd..0ab25e64f32f 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,29 +47,33 @@ private AnalyzeOrgPoliciesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesRequest();
   }
 
-  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.
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -68,14 +91,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.
@@ -84,16 +108,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 { @@ -102,9 +125,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
@@ -112,6 +138,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -120,14 +147,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
@@ -135,16 +163,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 { @@ -153,9 +180,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].
@@ -171,6 +201,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -179,14 +210,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].
@@ -202,16 +234,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 { @@ -222,6 +253,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]
@@ -229,6 +262,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -236,6 +270,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]
@@ -243,6 +279,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -251,14 +288,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 @@ -267,29 +308,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 { @@ -298,6 +339,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -345,8 +386,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_); @@ -359,26 +399,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.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; } @@ -408,98 +444,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].
@@ -507,33 +548,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();
@@ -547,9 +587,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
@@ -568,8 +608,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;
     }
@@ -600,38 +643,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;
@@ -639,7 +683,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;
@@ -689,37 +734,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) {
@@ -729,10 +780,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.
@@ -741,13 +795,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; @@ -756,6 +810,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -764,15 +820,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 { @@ -780,6 +835,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -788,18 +845,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.
@@ -808,6 +869,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -817,6 +879,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. The organization to scope the request. Only organization
      * policies within the scope will be analyzed.
@@ -825,12 +889,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 +906,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
@@ -847,13 +915,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 +930,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
@@ -869,15 +939,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 +954,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
@@ -892,18 +963,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
@@ -911,6 +986,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -920,6 +996,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
@@ -927,12 +1005,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 +1022,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].
@@ -957,13 +1039,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; @@ -972,6 +1054,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -987,15 +1071,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 { @@ -1003,6 +1086,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1018,18 +1103,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].
@@ -1045,6 +1134,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1054,6 +1144,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
@@ -1069,12 +1161,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; @@ -1082,8 +1176,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]
@@ -1091,6 +1187,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1098,6 +1195,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]
@@ -1105,6 +1204,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1112,6 +1212,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]
@@ -1119,6 +1221,7 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1130,6 +1233,8 @@ public Builder setPageSize(int value) { 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]
@@ -1137,6 +1242,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1148,18 +1254,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; @@ -1168,20 +1276,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 { @@ -1189,28 +1298,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() { @@ -1220,26 +1336,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); } @@ -1249,12 +1369,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(); } @@ -1263,27 +1383,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; @@ -1298,6 +1418,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 81% 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 b7a18544f278..052164dedb76 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -16,10 +34,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.
@@ -28,12 +49,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
@@ -41,10 +64,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
@@ -52,12 +78,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].
@@ -73,10 +101,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].
@@ -92,12 +123,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]
@@ -105,10 +138,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]
@@ -116,27 +152,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 74% 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 bb37f908f739..9cb1ff952188 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,29 +45,33 @@ private AnalyzeOrgPoliciesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPoliciesResponse();
   }
 
-  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
@@ -59,10 +81,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
@@ -72,10 +97,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
@@ -89,6 +117,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][].
@@ -100,9 +130,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][].
@@ -116,6 +147,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][].
@@ -129,6 +162,8 @@ public interface OrgPolicyResultOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -140,9 +175,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,52 +191,57 @@ 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(); } - 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
@@ -209,6 +251,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1; + * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -216,6 +259,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
@@ -225,13 +270,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
@@ -244,13 +294,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][].
@@ -267,6 +322,8 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -279,11 +336,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][].
@@ -300,6 +359,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -316,6 +377,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,89 +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
@@ -509,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(); @@ -562,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); } @@ -583,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_); @@ -602,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(); } } @@ -615,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()); } @@ -676,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_); } @@ -710,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) { @@ -745,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
@@ -760,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
@@ -775,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
@@ -809,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
@@ -831,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
@@ -843,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;
@@ -858,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
@@ -879,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
@@ -895,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
@@ -909,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
@@ -925,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][].
@@ -970,6 +1096,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -989,6 +1117,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1008,6 +1138,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][].
@@ -1019,8 +1151,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();
@@ -1034,6 +1165,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1057,6 +1190,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1082,6 +1217,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][].
@@ -1093,8 +1230,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();
@@ -1108,6 +1244,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1131,6 +1269,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1154,6 +1294,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1169,8 +1311,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);
@@ -1178,6 +1319,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1200,6 +1343,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1222,6 +1367,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1233,11 +1380,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][].
@@ -1252,11 +1400,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][].
@@ -1268,8 +1419,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 {
@@ -1277,6 +1428,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1289,10 +1442,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][].
@@ -1304,12 +1459,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][].
@@ -1321,16 +1477,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(),
@@ -1339,6 +1501,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) {
@@ -1351,41 +1514,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;
@@ -1397,16 +1563,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]
@@ -1414,13 +1584,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]
@@ -1428,14 +1603,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]
@@ -1443,13 +1623,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]
@@ -1457,13 +1641,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]
@@ -1471,22 +1660,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 @@ -1494,18 +1688,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.
    * 
@@ -1514,19 +1715,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 @@ -1535,30 +1742,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 { @@ -1567,6 +1774,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1578,8 +1786,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1599,12 +1806,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_); @@ -1617,22 +1822,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; } @@ -1660,98 +1863,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].
@@ -1759,33 +1967,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();
@@ -1807,9 +2014,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
@@ -1828,14 +2035,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_);
@@ -1850,9 +2061,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_;
@@ -1863,38 +2072,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;
@@ -1902,7 +2112,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()) {
@@ -1921,9 +2132,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_);
           }
@@ -1963,37 +2175,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) {
@@ -2003,21 +2218,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]
@@ -2025,9 +2250,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 { @@ -2035,6 +2263,8 @@ public java.util.List * The organization policies under the * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope] @@ -2042,7 +2272,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) { @@ -2052,6 +2284,8 @@ public int getOrgPolicyResultsCount() { } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2059,9 +2293,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 { @@ -2069,6 +2306,8 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult getO } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2076,7 +2315,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) { @@ -2093,6 +2334,8 @@ public Builder setOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2100,10 +2343,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()); @@ -2114,6 +2361,8 @@ public Builder setOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2121,9 +2370,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(); @@ -2137,6 +2389,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]
@@ -2144,7 +2398,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) { @@ -2161,6 +2417,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2168,10 +2426,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()); @@ -2182,6 +2443,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2189,10 +2452,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()); @@ -2203,6 +2470,8 @@ public Builder addOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2210,14 +2479,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); @@ -2225,6 +2497,8 @@ public Builder addAllOrgPolicyResults( return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2232,7 +2506,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) { @@ -2245,6 +2521,8 @@ public Builder clearOrgPolicyResults() { return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2252,7 +2530,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) { @@ -2265,6 +2545,8 @@ public Builder removeOrgPolicyResults(int index) { return this; } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2272,13 +2554,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]
@@ -2286,16 +2572,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]
@@ -2303,10 +2594,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 { @@ -2314,6 +2608,8 @@ public com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBui } } /** + * + * *
      * The organization policies under the
      * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
@@ -2321,13 +2617,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]
@@ -2335,14 +2638,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]
@@ -2350,18 +2660,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(), @@ -2373,34 +2692,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.
      * 
@@ -2421,6 +2753,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2439,6 +2773,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2447,9 +2783,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; @@ -2462,6 +2799,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2479,6 +2818,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2491,6 +2832,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2501,11 +2844,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.
      * 
@@ -2513,14 +2859,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_; @@ -2528,19 +2877,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; @@ -2549,21 +2900,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 { @@ -2571,30 +2923,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() { @@ -2604,27 +2963,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); } @@ -2634,12 +2997,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(); } @@ -2648,27 +3011,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; @@ -2683,6 +3046,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..3d6f4c24c06c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 77% 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 26476cde8cb6..2f8cb4d823bd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,29 +49,33 @@ private AnalyzeOrgPolicyGovernedAssetsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsRequest();
   }
 
-  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
@@ -62,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -70,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. The output assets will
@@ -88,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 { @@ -106,9 +131,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
@@ -116,6 +144,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -124,14 +153,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
@@ -139,16 +169,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 { @@ -157,9 +186,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
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -191,6 +223,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -199,14 +232,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
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -238,16 +272,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 { @@ -258,6 +291,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]
@@ -265,6 +300,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -272,6 +308,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]
@@ -279,6 +317,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -287,14 +326,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 @@ -303,29 +346,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,6 +377,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +389,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,8 +424,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_); @@ -395,26 +437,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; } @@ -444,98 +482,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].
@@ -543,33 +587,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();
@@ -583,13 +626,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();
     }
 
@@ -604,13 +648,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_;
@@ -636,46 +684,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;
@@ -725,37 +777,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) {
@@ -765,10 +823,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
@@ -779,13 +840,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; @@ -794,6 +855,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
@@ -804,15 +867,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 { @@ -820,6 +882,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
@@ -830,18 +894,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
@@ -852,6 +920,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -861,6 +930,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
@@ -871,12 +942,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; @@ -886,6 +959,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
@@ -893,13 +968,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; @@ -908,6 +983,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
@@ -915,15 +992,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 { @@ -931,6 +1007,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
@@ -938,18 +1016,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
@@ -957,6 +1039,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -966,6 +1049,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
@@ -973,12 +1058,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; @@ -988,6 +1075,8 @@ public Builder setConstraintBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -1019,13 +1108,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; @@ -1034,6 +1123,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -1065,15 +1156,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 { @@ -1081,6 +1171,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -1112,18 +1204,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
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -1155,6 +1251,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1164,6 +1261,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -1195,12 +1294,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; @@ -1208,8 +1309,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]
@@ -1217,6 +1320,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1224,6 +1328,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]
@@ -1231,6 +1337,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1238,6 +1345,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]
@@ -1245,6 +1354,7 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1256,6 +1366,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
@@ -1263,6 +1375,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1274,18 +1387,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; @@ -1294,20 +1409,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 { @@ -1315,28 +1431,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() { @@ -1346,26 +1469,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); } @@ -1375,41 +1502,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; @@ -1421,9 +1550,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 85% 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 ba663f36915d..548593e7ba4f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -18,10 +36,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
@@ -32,12 +53,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
@@ -45,10 +68,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
@@ -56,12 +82,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
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -93,10 +121,13 @@ public interface AnalyzeOrgPolicyGovernedAssetsRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
@@ -128,12 +159,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]
@@ -141,10 +174,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]
@@ -152,27 +188,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 da9f3bbb65f8..f5fd21f305c0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,29 +47,33 @@ private AnalyzeOrgPolicyGovernedAssetsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedAssetsResponse();
   }
 
-  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
@@ -57,10 +81,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
@@ -68,12 +95,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
@@ -82,10 +111,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
@@ -94,12 +126,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
@@ -107,10 +141,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
@@ -118,12 +155,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
@@ -131,11 +170,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
@@ -143,10 +184,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
@@ -154,11 +198,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
@@ -166,13 +213,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
@@ -180,10 +229,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
@@ -191,61 +243,70 @@ 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_ = ""; project_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedResource(); } - 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
@@ -253,6 +314,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -261,14 +323,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
@@ -276,16 +339,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 { @@ -294,9 +356,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
@@ -305,6 +370,7 @@ public java.lang.String getFullResourceName() {
      * 
* * string parent = 2; + * * @return The parent. */ @java.lang.Override @@ -313,14 +379,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
@@ -329,16 +396,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 { @@ -347,9 +413,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
@@ -357,6 +426,7 @@ public java.lang.String getParent() {
      * 
* * string project = 5; + * * @return The project. */ @java.lang.Override @@ -365,14 +435,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
@@ -380,16 +451,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 { @@ -398,10 +468,13 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The folder(s) that this resource belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -409,13 +482,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
@@ -423,12 +498,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
@@ -436,6 +514,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -443,6 +522,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
@@ -450,18 +531,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
@@ -469,6 +553,7 @@ public java.lang.String getFolders(int index) {
      * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -477,14 +562,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
@@ -492,16 +578,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 { @@ -510,6 +595,7 @@ public java.lang.String getOrganization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,8 +607,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -575,23 +660,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; } @@ -620,90 +703,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 @@ -713,40 +808,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(); @@ -754,26 +855,29 @@ public Builder clear() { fullResourceName_ = ""; parent_ = ""; project_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; return this; } @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); } @@ -781,14 +885,21 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_; @@ -812,46 +923,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; @@ -908,38 +1029,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) { @@ -949,10 +1076,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
@@ -960,13 +1090,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; @@ -975,6 +1105,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -982,15 +1114,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 { @@ -998,6 +1129,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1005,18 +1138,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
@@ -1024,6 +1161,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1033,6 +1171,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1040,12 +1180,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; @@ -1055,6 +1197,8 @@ public Builder setFullResourceNameBytes( private java.lang.Object parent_ = ""; /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1063,13 +1207,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; @@ -1078,6 +1222,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1086,15 +1232,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 { @@ -1102,6 +1247,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1110,18 +1257,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
@@ -1130,6 +1281,7 @@ public Builder setParent(
        * 
* * string parent = 2; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1139,6 +1291,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1147,12 +1301,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; @@ -1162,6 +1318,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
@@ -1169,13 +1327,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; @@ -1184,6 +1342,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
@@ -1191,15 +1351,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 { @@ -1207,6 +1366,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
@@ -1214,18 +1375,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
@@ -1233,6 +1398,7 @@ public Builder setProject(
        * 
* * string project = 5; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1242,6 +1408,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
@@ -1249,12 +1417,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; @@ -1264,6 +1434,7 @@ public Builder setProjectBytes( private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFoldersIsMutable() { if (!folders_.isModifiable()) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); @@ -1271,6 +1442,8 @@ private void ensureFoldersIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1278,14 +1451,16 @@ 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() { folders_.makeImmutable(); return folders_; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1293,12 +1468,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
@@ -1306,6 +1484,7 @@ public int getFoldersCount() {
        * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1313,6 +1492,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
@@ -1320,14 +1501,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
@@ -1335,13 +1518,15 @@ 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); bitField0_ |= 0x00000008; @@ -1349,6 +1534,8 @@ public Builder setFolders( return this; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1356,12 +1543,14 @@ 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); bitField0_ |= 0x00000008; @@ -1369,6 +1558,8 @@ public Builder addFolders( return this; } /** + * + * *
        * The folder(s) that this resource belongs to, in the format of
        * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -1376,19 +1567,20 @@ 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_); bitField0_ |= 0x00000008; 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
@@ -1396,16 +1588,19 @@ public Builder addAllFolders(
        * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; 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
@@ -1413,12 +1608,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); @@ -1429,6 +1626,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
@@ -1436,13 +1635,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; @@ -1451,6 +1650,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
@@ -1458,15 +1659,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 { @@ -1474,6 +1674,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
@@ -1481,18 +1683,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
@@ -1500,6 +1706,7 @@ public Builder setOrganization(
        * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -1509,6 +1716,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
@@ -1516,18 +1725,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) { @@ -1540,41 +1752,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; + 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; @@ -1586,17 +1803,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 on which this IAM policy is set.
      * Example:
@@ -1607,10 +1827,13 @@ public interface GovernedIamPolicyOrBuilder extends
      * 
* * string attached_resource = 1; + * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** + * + * *
      * The full resource name of the resource on which this IAM policy is set.
      * Example:
@@ -1621,30 +1844,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.
      * 
@@ -1654,6 +1885,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
@@ -1661,10 +1894,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
@@ -1672,12 +1908,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
@@ -1685,11 +1923,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
@@ -1697,10 +1937,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
@@ -1708,11 +1951,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
@@ -1720,13 +1966,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
@@ -1734,10 +1982,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
@@ -1745,60 +1996,69 @@ 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_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedIamPolicy(); } - 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 on which this IAM policy is set.
      * Example:
@@ -1809,6 +2069,7 @@ protected java.lang.Object newInstance(
      * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -1817,14 +2078,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 on which this IAM policy is set.
      * Example:
@@ -1835,16 +2097,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 { @@ -1855,11 +2116,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 @@ -1867,11 +2131,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 @@ -1879,6 +2146,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.
      * 
@@ -1891,9 +2160,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
@@ -1901,6 +2173,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * 
* * string project = 5; + * * @return The project. */ @java.lang.Override @@ -1909,14 +2182,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
@@ -1924,16 +2198,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 { @@ -1942,10 +2215,13 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The folder(s) that this IAM policy belongs to, in the format of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1953,13 +2229,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
@@ -1967,12 +2245,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
@@ -1980,6 +2261,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1987,6 +2269,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
@@ -1994,18 +2278,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
@@ -2013,6 +2300,7 @@ public java.lang.String getFolders(int index) {
      * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -2021,14 +2309,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
@@ -2036,16 +2325,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 { @@ -2054,6 +2342,7 @@ public java.lang.String getOrganization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2065,8 +2354,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2095,8 +2383,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_); @@ -2120,26 +2407,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; } @@ -2170,90 +2455,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 @@ -2263,40 +2560,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(); @@ -2308,26 +2612,29 @@ public Builder clear() { policyBuilder_ = null; } project_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; return this; } @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); } @@ -2335,22 +2642,27 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_; @@ -2368,46 +2680,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; @@ -2462,40 +2785,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) { @@ -2505,10 +2832,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object attachedResource_ = ""; /** + * + * *
        * The full resource name of the resource on which this IAM policy is set.
        * Example:
@@ -2519,13 +2849,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; @@ -2534,6 +2864,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
        * The full resource name of the resource on which this IAM policy is set.
        * Example:
@@ -2544,15 +2876,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 { @@ -2560,6 +2891,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
        * The full resource name of the resource on which this IAM policy is set.
        * Example:
@@ -2570,18 +2903,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 on which this IAM policy is set.
        * Example:
@@ -2592,6 +2929,7 @@ public Builder setAttachedResource(
        * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -2601,6 +2939,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
        * The full resource name of the resource on which this IAM policy is set.
        * Example:
@@ -2611,12 +2951,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; @@ -2626,24 +2968,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() { @@ -2654,6 +3005,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2674,14 +3027,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 { @@ -2692,6 +3046,8 @@ public Builder setPolicy( return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2700,9 +3056,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; @@ -2715,6 +3071,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) { return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2732,6 +3090,8 @@ public Builder clearPolicy() { return this; } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2744,6 +3104,8 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() { return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * The IAM policy directly set on the given resource.
        * 
@@ -2754,11 +3116,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.
        * 
@@ -2766,14 +3129,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_; @@ -2781,6 +3147,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
@@ -2788,13 +3156,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; @@ -2803,6 +3171,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
@@ -2810,15 +3180,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 { @@ -2826,6 +3195,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
@@ -2833,18 +3204,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
@@ -2852,6 +3227,7 @@ public Builder setProject(
        * 
* * string project = 5; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -2861,6 +3237,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
@@ -2868,12 +3246,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; @@ -2883,6 +3263,7 @@ public Builder setProjectBytes( private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFoldersIsMutable() { if (!folders_.isModifiable()) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); @@ -2890,6 +3271,8 @@ private void ensureFoldersIsMutable() { 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
@@ -2897,14 +3280,16 @@ 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() { folders_.makeImmutable(); 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
@@ -2912,12 +3297,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
@@ -2925,6 +3313,7 @@ public int getFoldersCount() {
        * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2932,6 +3321,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
@@ -2939,14 +3330,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
@@ -2954,13 +3347,15 @@ 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); bitField0_ |= 0x00000008; @@ -2968,6 +3363,8 @@ public Builder setFolders( 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
@@ -2975,12 +3372,14 @@ 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); bitField0_ |= 0x00000008; @@ -2988,6 +3387,8 @@ public Builder addFolders( 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
@@ -2995,19 +3396,20 @@ 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_); bitField0_ |= 0x00000008; 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
@@ -3015,16 +3417,19 @@ public Builder addAllFolders(
        * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; 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
@@ -3032,12 +3437,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); @@ -3048,6 +3455,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
@@ -3055,13 +3464,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; @@ -3070,6 +3479,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
@@ -3077,15 +3488,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 { @@ -3093,6 +3503,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
@@ -3100,18 +3512,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
@@ -3119,6 +3535,7 @@ public Builder setOrganization(
        * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3128,6 +3545,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
@@ -3135,18 +3554,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) { @@ -3159,41 +3581,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; @@ -3205,83 +3632,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
@@ -3291,10 +3753,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
@@ -3304,10 +3769,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
@@ -3321,6 +3789,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][]
@@ -3332,9 +3802,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][]
@@ -3348,6 +3819,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 +3834,8 @@ public interface GovernedAssetOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3372,9 +3847,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][]
@@ -3386,63 +3863,73 @@ 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);
 
-    com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase();
+    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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -3458,32 +3945,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 @@ -3491,48 +3986,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 @@ -3540,42 +4056,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
@@ -3585,6 +4119,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 @@ -3592,6 +4127,8 @@ public boolean hasConsolidatedPolicy() { return consolidatedPolicy_ != null; } /** + * + * *
      * The consolidated policy for the analyzed asset. The consolidated
      * policy is computed by merging and evaluating
@@ -3601,13 +4138,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
@@ -3620,13 +4162,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][]
@@ -3643,6 +4190,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 +4204,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][]
@@ -3676,6 +4227,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -3692,6 +4245,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][]
@@ -3710,6 +4265,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3721,13 +4277,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());
@@ -3745,20 +4306,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;
@@ -3768,29 +4334,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:
@@ -3831,90 +4396,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
@@ -3924,41 +4500,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(); @@ -3987,19 +4569,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); } @@ -4007,16 +4593,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_); @@ -4028,24 +4620,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(); } } @@ -4054,46 +4647,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()); } @@ -4115,26 +4718,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(); @@ -4162,46 +4769,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) { @@ -4211,12 +4819,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() { @@ -4229,15 +4837,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 @@ -4245,39 +4863,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(); @@ -4291,16 +4924,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(); @@ -4311,20 +4949,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; } @@ -4340,13 +4991,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) { @@ -4365,56 +5020,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; @@ -4425,15 +5112,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 @@ -4441,39 +5138,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(); @@ -4487,16 +5200,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(); @@ -4507,20 +5225,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; } @@ -4536,13 +5268,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) { @@ -4561,56 +5297,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; @@ -4622,8 +5391,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
@@ -4633,12 +5407,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
@@ -4648,16 +5425,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
@@ -4682,6 +5464,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
@@ -4704,6 +5488,8 @@ public Builder setConsolidatedPolicy(
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4716,9 +5502,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;
@@ -4731,6 +5518,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
@@ -4752,6 +5541,8 @@ public Builder clearConsolidatedPolicy() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The consolidated policy for the analyzed asset. The consolidated
        * policy is computed by merging and evaluating
@@ -4768,6 +5559,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
@@ -4782,11 +5575,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
@@ -4798,32 +5594,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][]
@@ -4843,6 +5649,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4862,6 +5670,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4881,6 +5691,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][]
@@ -4892,8 +5704,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();
@@ -4907,6 +5718,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4930,6 +5743,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -4955,6 +5770,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][]
@@ -4966,8 +5783,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();
@@ -4981,6 +5797,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5004,6 +5822,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5027,6 +5847,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5042,8 +5864,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);
@@ -5051,6 +5872,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5073,6 +5896,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5095,6 +5920,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5106,11 +5933,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][]
@@ -5125,11 +5953,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][]
@@ -5141,8 +5972,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 {
@@ -5150,6 +5981,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
@@ -5162,10 +5995,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][]
@@ -5177,12 +6012,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][]
@@ -5194,16 +6030,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(),
@@ -5212,6 +6054,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) {
@@ -5224,41 +6067,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;
@@ -5270,81 +6118,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 @@ -5352,18 +6232,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.
    * 
@@ -5372,19 +6259,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 @@ -5393,30 +6286,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 { @@ -5425,6 +6318,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5436,8 +6330,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -5457,12 +6350,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_); @@ -5475,22 +6366,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; } @@ -5518,98 +6407,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].
@@ -5617,33 +6512,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();
@@ -5665,13 +6559,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();
     }
 
@@ -5686,14 +6581,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_);
@@ -5705,12 +6604,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_;
@@ -5721,46 +6619,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()) {
@@ -5779,9 +6681,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_);
           }
@@ -5821,37 +6724,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) {
@@ -5861,28 +6767,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 { @@ -5890,11 +6811,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) { @@ -5904,13 +6829,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 { @@ -5918,14 +6848,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(); @@ -5939,14 +6874,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()); @@ -5957,13 +6898,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(); @@ -5977,14 +6923,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(); @@ -5998,14 +6949,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()); @@ -6016,14 +6972,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()); @@ -6034,18 +6996,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); @@ -6053,11 +7021,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) { @@ -6070,11 +7042,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) { @@ -6087,39 +7063,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 { @@ -6127,45 +7119,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(), @@ -6177,34 +7196,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.
      * 
@@ -6225,6 +7257,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6243,6 +7277,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6251,9 +7287,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; @@ -6266,6 +7303,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6283,6 +7322,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6295,6 +7336,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -6305,11 +7348,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.
      * 
@@ -6317,14 +7363,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_; @@ -6332,19 +7381,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; @@ -6353,21 +7404,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 { @@ -6375,30 +7427,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() { @@ -6408,27 +7467,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); } @@ -6438,41 +7501,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; @@ -6484,9 +7549,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..b5afac636d6d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 73% 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 110a8c8e4c22..3b450ff88339 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,29 +49,33 @@ private AnalyzeOrgPolicyGovernedContainersRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersRequest();
   }
 
-  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
@@ -62,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -70,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. The output containers will
@@ -88,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 { @@ -106,9 +131,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
@@ -116,6 +144,7 @@ public java.lang.String getScope() {
    * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The constraint. */ @java.lang.Override @@ -124,14 +153,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
@@ -139,16 +169,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 { @@ -157,9 +186,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
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -175,6 +207,7 @@ public java.lang.String getConstraint() {
    * 
* * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -183,14 +216,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
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -206,16 +240,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 { @@ -226,6 +259,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]
@@ -233,6 +268,7 @@ public java.lang.String getFilter() {
    * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -240,6 +276,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]
@@ -247,6 +285,7 @@ public boolean hasPageSize() {
    * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -255,14 +294,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 @@ -271,29 +314,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 { @@ -302,6 +345,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -349,8 +392,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_); @@ -363,26 +405,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; } @@ -412,98 +450,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].
@@ -511,33 +556,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();
@@ -551,14 +596,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
@@ -572,13 +619,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_;
@@ -604,46 +655,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;
@@ -693,37 +749,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) {
@@ -733,10 +795,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
@@ -747,13 +812,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; @@ -762,6 +827,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
@@ -772,15 +839,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 { @@ -788,6 +854,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
@@ -798,18 +866,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
@@ -820,6 +892,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -829,6 +902,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
@@ -839,12 +914,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; @@ -854,6 +931,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
@@ -861,13 +940,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; @@ -876,6 +955,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
@@ -883,15 +964,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 { @@ -899,6 +979,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
@@ -906,18 +988,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
@@ -925,6 +1011,7 @@ public Builder setConstraint(
      * 
* * string constraint = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConstraint() { @@ -934,6 +1021,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
@@ -941,12 +1030,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; @@ -956,6 +1047,8 @@ public Builder setConstraintBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -971,13 +1064,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; @@ -986,6 +1079,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -1001,15 +1096,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 { @@ -1017,6 +1111,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -1032,18 +1128,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
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -1059,6 +1159,7 @@ public Builder setFilter(
      * 
* * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1068,6 +1169,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The expression to filter
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -1083,12 +1186,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; @@ -1096,8 +1201,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]
@@ -1105,6 +1212,7 @@ public Builder setFilterBytes(
      * 
* * optional int32 page_size = 4; + * * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1112,6 +1220,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]
@@ -1119,6 +1229,7 @@ public boolean hasPageSize() {
      * 
* * optional int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1126,6 +1237,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]
@@ -1133,6 +1246,7 @@ public int getPageSize() {
      * 
* * optional int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1144,6 +1258,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return per page. If unspecified,
      * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
@@ -1151,6 +1267,7 @@ public Builder setPageSize(int value) {
      * 
* * optional int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1162,18 +1279,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; @@ -1182,20 +1301,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 { @@ -1203,28 +1323,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() { @@ -1234,26 +1361,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); } @@ -1263,41 +1394,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; @@ -1309,9 +1444,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 82% 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 7d94fecf3975..d301839bf8e6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -18,10 +36,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
@@ -32,12 +53,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
@@ -45,10 +68,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
@@ -56,12 +82,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
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -77,10 +105,13 @@ public interface AnalyzeOrgPolicyGovernedContainersRequestOrBuilder extends
    * 
* * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The expression to filter
    * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
@@ -96,12 +127,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]
@@ -109,10 +142,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]
@@ -120,27 +156,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 5cca1c72a8c0..ee69e895c8da 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,29 +47,33 @@ private AnalyzeOrgPolicyGovernedContainersResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeOrgPolicyGovernedContainersResponse();
   }
 
-  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
@@ -57,10 +81,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
@@ -68,12 +95,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
@@ -82,10 +111,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
@@ -94,12 +126,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
@@ -109,10 +143,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
@@ -122,10 +159,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
@@ -139,6 +179,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][].
@@ -150,9 +192,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][].
@@ -166,6 +209,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][].
@@ -179,6 +224,8 @@ public interface GovernedContainerOrBuilder extends
      */
     int getPolicyBundleCount();
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -190,9 +237,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,28 +285,34 @@ private GovernedContainer() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GovernedContainer(); } - 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
@@ -262,6 +320,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -270,14 +329,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 +345,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 +362,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 +376,7 @@ public java.lang.String getFullResourceName() {
      * 
* * string parent = 2; + * * @return The parent. */ @java.lang.Override @@ -322,14 +385,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 +402,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 { @@ -358,6 +421,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
@@ -367,6 +432,7 @@ public java.lang.String getParent() {
      * 
* * .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; + * * @return Whether the consolidatedPolicy field is set. */ @java.lang.Override @@ -374,6 +440,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
@@ -383,13 +451,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
@@ -402,13 +475,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][].
@@ -425,6 +503,8 @@ public java.util.List getPolicyBund
       return policyBundle_;
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -437,11 +517,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][].
@@ -458,6 +540,8 @@ public int getPolicyBundleCount() {
       return policyBundle_.size();
     }
     /**
+     *
+     *
      * 
      * The ordered list of all organization policies from the
      * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -474,6 +558,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,90 +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
@@ -687,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(); @@ -744,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); } @@ -764,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_); @@ -784,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_; @@ -793,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(); } } @@ -803,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; @@ -874,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_); } @@ -908,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) { @@ -953,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
@@ -964,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; @@ -979,6 +1130,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -986,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 { @@ -1002,6 +1154,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1009,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
@@ -1028,6 +1186,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1037,6 +1196,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1044,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; @@ -1059,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
@@ -1067,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; @@ -1082,6 +1247,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1090,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 { @@ -1106,6 +1272,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1114,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
@@ -1134,6 +1306,7 @@ public Builder setParent(
        * 
* * string parent = 2; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1143,6 +1316,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -1151,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; @@ -1166,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
@@ -1177,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
@@ -1192,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
@@ -1226,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
@@ -1248,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
@@ -1260,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;
@@ -1275,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
@@ -1296,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
@@ -1312,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
@@ -1326,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
@@ -1342,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][].
@@ -1387,6 +1601,8 @@ public java.util.List getPolicyBund
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1406,6 +1622,8 @@ public int getPolicyBundleCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1425,6 +1643,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][].
@@ -1436,8 +1656,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();
@@ -1451,6 +1670,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1474,6 +1695,8 @@ public Builder setPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1499,6 +1722,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][].
@@ -1510,8 +1735,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();
@@ -1525,6 +1749,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1548,6 +1774,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1571,6 +1799,8 @@ public Builder addPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1586,8 +1816,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);
@@ -1595,6 +1824,8 @@ public Builder addAllPolicyBundle(
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1617,6 +1848,8 @@ public Builder clearPolicyBundle() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1639,6 +1872,8 @@ public Builder removePolicyBundle(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1650,11 +1885,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][].
@@ -1669,11 +1905,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][].
@@ -1685,8 +1924,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 {
@@ -1694,6 +1933,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBui
         }
       }
       /**
+       *
+       *
        * 
        * The ordered list of all organization policies from the
        * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
@@ -1706,10 +1947,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][].
@@ -1721,12 +1964,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][].
@@ -1738,16 +1982,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(),
@@ -1756,6 +2006,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) {
@@ -1768,41 +2019,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;
@@ -1814,81 +2072,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 @@ -1896,18 +2187,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.
    * 
@@ -1916,19 +2214,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 @@ -1937,30 +2241,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 { @@ -1969,6 +2273,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1980,8 +2285,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2001,12 +2305,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_); @@ -2019,22 +2322,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; } @@ -2062,98 +2363,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].
@@ -2161,33 +2469,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();
@@ -2209,14 +2517,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
@@ -2230,14 +2540,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_);
@@ -2249,12 +2563,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_;
@@ -2265,46 +2578,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()) {
@@ -2323,9 +2641,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_);
           }
@@ -2365,37 +2684,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) {
@@ -2405,28 +2729,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 { @@ -2434,11 +2775,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) { @@ -2448,13 +2793,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 { @@ -2462,14 +2812,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(); @@ -2483,14 +2839,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()); @@ -2501,13 +2864,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(); @@ -2521,14 +2890,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(); @@ -2542,14 +2917,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()); @@ -2560,14 +2941,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()); @@ -2578,18 +2966,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); @@ -2597,11 +2992,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) { @@ -2614,11 +3013,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) { @@ -2631,39 +3034,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 { @@ -2671,45 +3092,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(), @@ -2721,34 +3175,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.
      * 
@@ -2769,6 +3236,8 @@ public Builder setConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstrai return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2787,6 +3256,8 @@ public Builder setConstraint( return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2795,9 +3266,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; @@ -2810,6 +3282,8 @@ public Builder mergeConstraint(com.google.cloud.asset.v1.AnalyzerOrgPolicyConstr return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2827,6 +3301,8 @@ public Builder clearConstraint() { return this; } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2839,6 +3315,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Builder getConstrai return getConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * The definition of the constraint in the request.
      * 
@@ -2849,11 +3327,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.
      * 
@@ -2861,14 +3342,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_; @@ -2876,19 +3360,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; @@ -2897,21 +3383,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 { @@ -2919,30 +3406,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() { @@ -2952,27 +3446,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); } @@ -2982,41 +3480,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; @@ -3028,9 +3530,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..3c7f731711b2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 75% 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 ab343b572cd1..3b59ddcf954b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,49 +48,59 @@ private AnalyzerOrgPolicy() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzerOrgPolicy();
   }
 
-  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.
@@ -83,48 +111,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.
@@ -132,10 +174,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.
@@ -143,29 +188,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.
      * 
@@ -177,6 +231,8 @@ public interface RuleOrBuilder extends com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.KindCase getKindCase(); } /** + * + * *
    * This rule message is a customized version of the one defined in the
    * Organization Policy system. In addition to the fields defined in the
@@ -186,200 +242,233 @@ public interface RuleOrBuilder extends
    *
    * 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();
     }
 
-    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.emptyList(); - deniedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringValues(); } - 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.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * 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. */ @@ -387,52 +476,63 @@ 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.LazyStringArrayList deniedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * 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. */ @@ -440,20 +540,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; @@ -465,8 +568,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -506,17 +608,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; } @@ -542,89 +643,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 @@ -634,58 +742,60 @@ 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(); bitField0_ = 0; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - deniedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + deniedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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(); } @@ -700,13 +810,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues result = + new com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -722,46 +836,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_; @@ -808,24 +928,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) { @@ -835,10 +958,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -846,35 +971,43 @@ private void ensureAllowedValuesIsMutable() { 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() { allowedValues_.makeImmutable(); 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. */ @@ -882,31 +1015,37 @@ 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); bitField0_ |= 0x00000001; @@ -914,17 +1053,21 @@ public Builder setAllowedValues( 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); bitField0_ |= 0x00000001; @@ -932,50 +1075,58 @@ public Builder addAllowedValues( 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * List of values allowed at this resource.
          * 
* * repeated string allowed_values = 1; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -986,6 +1137,7 @@ public Builder addAllowedValuesBytes( private com.google.protobuf.LazyStringArrayList deniedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDeniedValuesIsMutable() { if (!deniedValues_.isModifiable()) { deniedValues_ = new com.google.protobuf.LazyStringArrayList(deniedValues_); @@ -993,35 +1145,43 @@ private void ensureDeniedValuesIsMutable() { 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() { deniedValues_.makeImmutable(); 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. */ @@ -1029,31 +1189,37 @@ 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); bitField0_ |= 0x00000002; @@ -1061,17 +1227,21 @@ public Builder setDeniedValues( 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); bitField0_ |= 0x00000002; @@ -1079,50 +1249,58 @@ public Builder addDeniedValues( 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * List of values denied at this resource.
          * 
* * repeated string denied_values = 2; + * * @return This builder for chaining. */ public Builder clearDeniedValues() { - deniedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + deniedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); 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); @@ -1130,6 +1308,7 @@ public Builder addDeniedValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1142,41 +1321,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; @@ -1188,17 +1370,20 @@ 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; + @SuppressWarnings("serial") 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), @@ -1206,6 +1391,7 @@ public enum KindCase ENFORCE(6), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -1221,33 +1407,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 @@ -1255,22 +1449,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.
@@ -1279,21 +1478,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 @@ -1301,12 +1504,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 @@ -1319,12 +1525,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 @@ -1332,12 +1541,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 @@ -1350,6 +1562,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.
@@ -1357,6 +1571,7 @@ public boolean getDenyAll() {
      * 
* * bool enforce = 6; + * * @return Whether the enforce field is set. */ @java.lang.Override @@ -1364,6 +1579,8 @@ public boolean hasEnforce() { return kindCase_ == 6; } /** + * + * *
      * If `true`, then the `Policy` is enforced. If `false`, then any
      * configuration is acceptable.
@@ -1371,6 +1588,7 @@ public boolean hasEnforce() {
      * 
* * bool enforce = 6; + * * @return The enforce. */ @java.lang.Override @@ -1384,11 +1602,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 @@ -1396,11 +1617,14 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
      * The evaluating condition for this rule.
      * 
* * .google.type.Expr condition = 7; + * * @return The condition. */ @java.lang.Override @@ -1408,6 +1632,8 @@ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** + * + * *
      * The evaluating condition for this rule.
      * 
@@ -1420,6 +1646,7 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1431,22 +1658,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()); @@ -1461,27 +1685,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; @@ -1491,35 +1715,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: @@ -1546,18 +1766,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: @@ -1568,89 +1785,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 @@ -1660,6 +1881,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * This rule message is a customized version of the one defined in the
      * Organization Policy system. In addition to the fields defined in the
@@ -1669,33 +1892,33 @@ protected Builder newBuilderForType(
      *
      * 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();
@@ -1714,9 +1937,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
@@ -1735,8 +1958,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;
@@ -1745,17 +1971,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();
         }
       }
@@ -1764,38 +1987,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;
@@ -1803,30 +2029,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();
@@ -1854,41 +2086,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) {
@@ -1898,12 +2132,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() {
@@ -1916,14 +2150,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 @@ -1931,12 +2171,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 @@ -1954,6 +2197,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.
@@ -1961,7 +2206,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();
@@ -1975,6 +2221,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.
@@ -1994,6 +2242,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.
@@ -2001,12 +2251,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;
           }
@@ -2022,6 +2278,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.
@@ -2046,6 +2304,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.
@@ -2053,10 +2313,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.
@@ -2065,7 +2328,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 {
@@ -2076,6 +2340,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.
@@ -2084,14 +2350,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());
@@ -2103,24 +2375,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() { @@ -2130,12 +2408,15 @@ 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. */ @@ -2147,12 +2428,15 @@ public Builder setAllowAll(boolean value) { 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() { @@ -2165,24 +2449,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() { @@ -2192,12 +2482,15 @@ 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. */ @@ -2209,12 +2502,15 @@ public Builder setDenyAll(boolean value) { 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() { @@ -2227,6 +2523,8 @@ public Builder clearDenyAll() { } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2234,12 +2532,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.
@@ -2247,6 +2548,7 @@ public boolean hasEnforce() {
        * 
* * bool enforce = 6; + * * @return The enforce. */ public boolean getEnforce() { @@ -2256,6 +2558,8 @@ public boolean getEnforce() { return false; } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2263,6 +2567,7 @@ public boolean getEnforce() {
        * 
* * bool enforce = 6; + * * @param value The enforce to set. * @return This builder for chaining. */ @@ -2274,6 +2579,8 @@ public Builder setEnforce(boolean value) { return this; } /** + * + * *
        * If `true`, then the `Policy` is enforced. If `false`, then any
        * configuration is acceptable.
@@ -2281,6 +2588,7 @@ public Builder setEnforce(boolean value) {
        * 
* * bool enforce = 6; + * * @return This builder for chaining. */ public Builder clearEnforce() { @@ -2294,24 +2602,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() { @@ -2322,6 +2637,8 @@ public com.google.type.Expr getCondition() { } } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2342,14 +2659,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 { @@ -2360,6 +2678,8 @@ public Builder setCondition( return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2368,9 +2688,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; @@ -2383,6 +2703,8 @@ public Builder mergeCondition(com.google.type.Expr value) { return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2400,6 +2722,8 @@ public Builder clearCondition() { return this; } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2412,6 +2736,8 @@ public com.google.type.Expr.Builder getConditionBuilder() { return getConditionFieldBuilder().getBuilder(); } /** + * + * *
        * The evaluating condition for this rule.
        * 
@@ -2422,11 +2748,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.
        * 
@@ -2434,18 +2761,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) { @@ -2458,12 +2786,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(); } @@ -2472,27 +2800,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; @@ -2507,13 +2836,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
@@ -2525,6 +2856,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getDefaultInstanceForTyp
    * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -2533,14 +2865,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
@@ -2552,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 { @@ -2570,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
@@ -2585,6 +2920,7 @@ public java.lang.String getAttachedResource() {
    * 
* * string applied_resource = 5; + * * @return The appliedResource. */ @java.lang.Override @@ -2593,14 +2929,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
@@ -2613,16 +2950,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 { @@ -2631,9 +2967,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.
    * 
@@ -2645,6 +2984,8 @@ public java.util.List getRules return rules_; } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2652,11 +2993,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.
    * 
@@ -2668,6 +3011,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2679,6 +3024,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index) { return rules_.get(index); } /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -2686,14 +3033,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
@@ -2702,6 +3050,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild
    * 
* * bool inherit_from_parent = 3; + * * @return The inheritFromParent. */ @java.lang.Override @@ -2712,6 +3061,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.
@@ -2721,6 +3072,7 @@ public boolean getInheritFromParent() {
    * 
* * bool reset = 4; + * * @return The reset. */ @java.lang.Override @@ -2729,6 +3081,7 @@ public boolean getReset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2740,8 +3093,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2770,16 +3122,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_); @@ -2792,23 +3141,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; } @@ -2829,109 +3174,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
@@ -2941,33 +3289,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();
@@ -2987,9 +3334,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
@@ -3008,9 +3355,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;
     }
@@ -3047,38 +3397,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;
@@ -3115,9 +3466,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_);
           }
@@ -3155,45 +3507,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) {
@@ -3203,10 +3561,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
@@ -3218,13 +3579,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; @@ -3233,6 +3594,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3244,15 +3607,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 { @@ -3260,6 +3622,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3271,18 +3635,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
@@ -3294,6 +3662,7 @@ public Builder setAttachedResource(
      * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -3303,6 +3672,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3314,12 +3685,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; @@ -3329,6 +3702,8 @@ public Builder setAttachedResourceBytes( private java.lang.Object appliedResource_ = ""; /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3341,13 +3716,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; @@ -3356,6 +3731,8 @@ public java.lang.String getAppliedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3368,15 +3745,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 { @@ -3384,6 +3760,8 @@ public java.lang.String getAppliedResource() { } } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3396,18 +3774,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
@@ -3420,6 +3802,7 @@ public Builder setAppliedResource(
      * 
* * string applied_resource = 5; + * * @return This builder for chaining. */ public Builder clearAppliedResource() { @@ -3429,6 +3812,8 @@ public Builder clearAppliedResource() { return this; } /** + * + * *
      * The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
@@ -3441,12 +3826,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; @@ -3455,18 +3842,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.
      * 
@@ -3481,6 +3874,8 @@ public java.util.List getRules } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3495,6 +3890,8 @@ public int getRulesCount() { } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3509,14 +3906,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(); @@ -3530,6 +3928,8 @@ public Builder setRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3548,6 +3948,8 @@ public Builder setRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3568,14 +3970,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(); @@ -3589,6 +3992,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3607,6 +4012,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3625,6 +4032,8 @@ public Builder addRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3635,8 +4044,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); @@ -3644,6 +4052,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3661,6 +4071,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3678,39 +4090,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 { @@ -3718,6 +4135,8 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.RuleOrBuilder getRulesOrBuild } } /** + * + * *
      * List of rules for this organization policy.
      * 
@@ -3725,49 +4144,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
@@ -3776,6 +4203,7 @@ public com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.Builder addRulesBuilder(
      * 
* * bool inherit_from_parent = 3; + * * @return The inheritFromParent. */ @java.lang.Override @@ -3783,6 +4211,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
@@ -3791,6 +4221,7 @@ public boolean getInheritFromParent() {
      * 
* * bool inherit_from_parent = 3; + * * @param value The inheritFromParent to set. * @return This builder for chaining. */ @@ -3802,6 +4233,8 @@ public Builder setInheritFromParent(boolean value) { 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
@@ -3810,6 +4243,7 @@ public Builder setInheritFromParent(boolean value) {
      * 
* * bool inherit_from_parent = 3; + * * @return This builder for chaining. */ public Builder clearInheritFromParent() { @@ -3819,8 +4253,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.
@@ -3830,6 +4266,7 @@ public Builder clearInheritFromParent() {
      * 
* * bool reset = 4; + * * @return The reset. */ @java.lang.Override @@ -3837,6 +4274,8 @@ public boolean getReset() { return reset_; } /** + * + * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -3846,6 +4285,7 @@ public boolean getReset() {
      * 
* * bool reset = 4; + * * @param value The reset to set. * @return This builder for chaining. */ @@ -3857,6 +4297,8 @@ public Builder setReset(boolean value) { return this; } /** + * + * *
      * Ignores policies set above this resource and restores the default behavior
      * of the constraint at this resource.
@@ -3866,6 +4308,7 @@ public Builder setReset(boolean value) {
      * 
* * bool reset = 4; + * * @return This builder for chaining. */ public Builder clearReset() { @@ -3874,9 +4317,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); } @@ -3886,12 +4329,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(); } @@ -3900,27 +4343,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; @@ -3935,6 +4378,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 6bfd311b0cde..f6702e4b2fc8 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,52 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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}`
@@ -55,10 +76,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}`
@@ -67,144 +91,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(); - com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase(); + 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_ = ""; @@ -214,35 +295,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(); } - 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.
@@ -252,6 +338,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.
@@ -261,6 +349,8 @@ public enum ConstraintDefault
        */
       ALLOW(1),
       /**
+       *
+       *
        * 
        * Indicate that all values are denied for list constraints.
        * Indicate that enforcement is on for boolean constraints.
@@ -273,6 +363,8 @@ public enum ConstraintDefault
       ;
 
       /**
+       *
+       *
        * 
        * This is only used for distinguishing unset values and should never be
        * used.
@@ -282,6 +374,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.
@@ -291,6 +385,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.
@@ -300,7 +396,6 @@ public enum ConstraintDefault
        */
       public static final int DENY_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -325,10 +420,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;
         }
       }
 
@@ -336,29 +435,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();
@@ -366,8 +467,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;
@@ -384,11 +484,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,
@@ -396,11 +499,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
@@ -409,53 +515,62 @@ 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(); } - 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,
@@ -463,6 +578,7 @@ protected java.lang.Object newInstance(
        * 
* * bool supports_in = 1; + * * @return The supportsIn. */ @java.lang.Override @@ -473,6 +589,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
@@ -481,6 +599,7 @@ public boolean getSupportsIn() {
        * 
* * bool supports_under = 2; + * * @return The supportsUnder. */ @java.lang.Override @@ -489,6 +608,7 @@ public boolean getSupportsUnder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,8 +620,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -518,12 +637,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; @@ -533,17 +650,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; } @@ -556,100 +674,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 @@ -659,40 +789,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(); @@ -703,19 +839,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); } @@ -723,14 +863,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_; @@ -744,46 +891,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()); } @@ -816,22 +973,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) { @@ -841,10 +1001,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,
@@ -852,6 +1015,7 @@ public Builder mergeFrom(
          * 
* * bool supports_in = 1; + * * @return The supportsIn. */ @java.lang.Override @@ -859,6 +1023,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,
@@ -866,6 +1032,7 @@ public boolean getSupportsIn() {
          * 
* * bool supports_in = 1; + * * @param value The supportsIn to set. * @return This builder for chaining. */ @@ -877,6 +1044,8 @@ public Builder setSupportsIn(boolean value) { return this; } /** + * + * *
          * Indicates whether values grouped into categories can be used in
          * `Policy.allowed_values` and `Policy.denied_values`. For example,
@@ -884,6 +1053,7 @@ public Builder setSupportsIn(boolean value) {
          * 
* * bool supports_in = 1; + * * @return This builder for chaining. */ public Builder clearSupportsIn() { @@ -893,8 +1063,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
@@ -903,6 +1075,7 @@ public Builder clearSupportsIn() {
          * 
* * bool supports_under = 2; + * * @return The supportsUnder. */ @java.lang.Override @@ -910,6 +1083,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
@@ -918,6 +1093,7 @@ public boolean getSupportsUnder() {
          * 
* * bool supports_under = 2; + * * @param value The supportsUnder to set. * @return This builder for chaining. */ @@ -929,6 +1105,8 @@ public Builder setSupportsUnder(boolean value) { return this; } /** + * + * *
          * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
          * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
@@ -937,6 +1115,7 @@ public Builder setSupportsUnder(boolean value) {
          * 
* * bool supports_under = 2; + * * @return This builder for chaining. */ public Builder clearSupportsUnder() { @@ -945,6 +1124,7 @@ public Builder clearSupportsUnder() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -957,41 +1137,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; @@ -1003,17 +1188,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.
      *
@@ -1022,41 +1209,46 @@ 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(); } - 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; @@ -1068,8 +1260,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1087,12 +1278,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; @@ -1110,90 +1305,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 @@ -1203,6 +1424,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A `Constraint` that is either enforced or not.
        *
@@ -1211,35 +1434,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(); @@ -1247,19 +1475,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); } @@ -1267,8 +1499,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; } @@ -1277,46 +1513,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; @@ -1343,12 +1590,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) { @@ -1358,6 +1606,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1370,41 +1619,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; @@ -1416,22 +1672,26 @@ 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; + @SuppressWarnings("serial") 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; } @@ -1447,27 +1707,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}`
@@ -1476,6 +1742,7 @@ public int getNumber() {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1484,14 +1751,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}`
@@ -1500,16 +1768,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 { @@ -1518,14 +1785,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 @@ -1534,29 +1805,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 { @@ -1565,15 +1836,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 @@ -1582,30 +1857,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 { @@ -1616,36 +1891,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 @@ -1653,42 +1951,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 @@ -1696,36 +2014,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; @@ -1737,8 +2072,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1748,14 +2082,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); } @@ -1775,17 +2118,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; @@ -1795,29 +2146,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: @@ -1859,89 +2206,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 @@ -1951,39 +2304,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(); @@ -2004,14 +2360,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 @@ -2025,14 +2383,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_; @@ -2048,15 +2410,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(); } } @@ -2065,46 +2426,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; @@ -2124,17 +2492,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(); @@ -2162,46 +2533,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) { @@ -2211,12 +2587,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() { @@ -2230,6 +2606,8 @@ public Builder clearConstraintType() { private java.lang.Object name_ = ""; /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2238,13 +2616,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; @@ -2253,6 +2631,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2261,15 +2641,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 { @@ -2277,6 +2656,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2285,18 +2666,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}`
@@ -2305,6 +2690,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2314,6 +2700,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The unique name of the constraint. Format of the name should be
        * * `constraints/{constraint_name}`
@@ -2322,12 +2710,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; @@ -2337,18 +2727,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; @@ -2357,20 +2749,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 { @@ -2378,28 +2771,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() { @@ -2409,17 +2809,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; @@ -2429,19 +2833,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; @@ -2450,21 +2856,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 { @@ -2472,30 +2879,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() { @@ -2505,18 +2919,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; @@ -2526,22 +2944,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. */ @@ -2552,28 +2981,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(); } @@ -2583,11 +3030,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() { @@ -2598,13 +3050,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 @@ -2612,35 +3074,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(); @@ -2654,14 +3130,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(); @@ -2672,18 +3153,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; } @@ -2699,11 +3193,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) { @@ -2722,50 +3220,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; @@ -2776,13 +3303,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 @@ -2790,35 +3327,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(); @@ -2832,14 +3385,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(); @@ -2850,18 +3408,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; } @@ -2877,11 +3449,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) { @@ -2900,50 +3476,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; @@ -2952,6 +3561,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) { @@ -2964,41 +3574,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; @@ -3010,17 +3623,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
@@ -3031,10 +3647,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 +3664,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 +3679,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 +3693,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 +3707,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 +3722,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 +3814,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,90 +3828,113 @@ 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.emptyList(); + resourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); methodTypes_ = java.util.Collections.emptyList(); condition_ = ""; actionType_ = 0; @@ -3260,25 +3944,28 @@ private CustomConstraint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomConstraint(); } - 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
@@ -3286,11 +3973,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.
        * 
@@ -3299,6 +3988,8 @@ public enum MethodType */ METHOD_TYPE_UNSPECIFIED(0), /** + * + * *
        * Constraint applied when creating the resource.
        * 
@@ -3307,6 +3998,8 @@ public enum MethodType */ CREATE(1), /** + * + * *
        * Constraint applied when updating the resource.
        * 
@@ -3315,6 +4008,8 @@ public enum MethodType */ UPDATE(2), /** + * + * *
        * Constraint applied when deleting the resource.
        * 
@@ -3326,6 +4021,8 @@ public enum MethodType ; /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3334,6 +4031,8 @@ public enum MethodType */ public static final int METHOD_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Constraint applied when creating the resource.
        * 
@@ -3342,6 +4041,8 @@ public enum MethodType */ public static final int CREATE_VALUE = 1; /** + * + * *
        * Constraint applied when updating the resource.
        * 
@@ -3350,6 +4051,8 @@ public enum MethodType */ public static final int UPDATE_VALUE = 2; /** + * + * *
        * Constraint applied when deleting the resource.
        * 
@@ -3358,7 +4061,6 @@ public enum MethodType */ public static final int DELETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3383,50 +4085,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; @@ -3444,15 +4150,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.
        * 
@@ -3461,6 +4171,8 @@ public enum ActionType */ ACTION_TYPE_UNSPECIFIED(0), /** + * + * *
        * Allowed action type.
        * 
@@ -3469,6 +4181,8 @@ public enum ActionType */ ALLOW(1), /** + * + * *
        * Deny action type.
        * 
@@ -3480,6 +4194,8 @@ public enum ActionType ; /** + * + * *
        * Unspecified. Will results in user error.
        * 
@@ -3488,6 +4204,8 @@ public enum ActionType */ public static final int ACTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Allowed action type.
        * 
@@ -3496,6 +4214,8 @@ public enum ActionType */ public static final int ALLOW_VALUE = 1; /** + * + * *
        * Deny action type.
        * 
@@ -3504,7 +4224,6 @@ public enum ActionType */ public static final int DENY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3529,49 +4248,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; @@ -3589,9 +4311,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
@@ -3602,6 +4327,7 @@ private ActionType(int value) {
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3610,14 +4336,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
@@ -3628,16 +4355,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 { @@ -3646,10 +4372,13 @@ public java.lang.String getName() { } public static final int RESOURCE_TYPES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList resourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The Resource Instance type on which this policy applies to. Format will
      * be of the form : "<canonical service name>/<type>" Example:
@@ -3657,13 +4386,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:
@@ -3671,12 +4402,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:
@@ -3684,6 +4418,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. */ @@ -3691,6 +4426,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:
@@ -3698,45 +4435,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 @@ -3744,37 +4509,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. */ @@ -3782,12 +4562,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,
@@ -3795,6 +4579,7 @@ public int getMethodTypesValue(int index) {
      * 
* * string condition = 4; + * * @return The condition. */ @java.lang.Override @@ -3803,14 +4588,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,
@@ -3818,16 +4604,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 { @@ -3838,38 +4623,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 @@ -3878,29 +4685,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 { @@ -3909,14 +4716,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 @@ -3925,29 +4736,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 { @@ -3956,6 +4767,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3967,8 +4779,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -3986,7 +4797,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_)) { @@ -4018,21 +4832,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_); @@ -4048,25 +4865,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; } @@ -4102,89 +4916,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 @@ -4194,46 +5014,49 @@ 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(); bitField0_ = 0; name_ = ""; - resourceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + resourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); methodTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); condition_ = ""; @@ -4244,19 +5067,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); } @@ -4265,14 +5091,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_ & 0x00000004) != 0)) { methodTypes_ = java.util.Collections.unmodifiableList(methodTypes_); bitField0_ = (bitField0_ & ~0x00000004); @@ -4280,7 +5110,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 +5138,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 +5255,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 +5327,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
@@ -4493,13 +5344,13 @@ public Builder mergeFrom(
        * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4508,6 +5359,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4518,15 +5371,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 { @@ -4534,6 +5386,8 @@ public java.lang.String getName() { } } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4544,18 +5398,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
@@ -4566,6 +5424,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4575,6 +5434,8 @@ public Builder clearName() { return this; } /** + * + * *
        * Name of the constraint. This is unique within the organization. Format of
        * the name should be
@@ -4585,12 +5446,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; @@ -4600,6 +5463,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList resourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResourceTypesIsMutable() { if (!resourceTypes_.isModifiable()) { resourceTypes_ = new com.google.protobuf.LazyStringArrayList(resourceTypes_); @@ -4607,6 +5471,8 @@ private void ensureResourceTypesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4614,14 +5480,16 @@ 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() { resourceTypes_.makeImmutable(); return resourceTypes_; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4629,12 +5497,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:
@@ -4642,6 +5513,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. */ @@ -4649,6 +5521,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:
@@ -4656,14 +5530,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:
@@ -4671,13 +5547,15 @@ 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); bitField0_ |= 0x00000002; @@ -4685,6 +5563,8 @@ public Builder setResourceTypes( return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4692,12 +5572,14 @@ 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); bitField0_ |= 0x00000002; @@ -4705,6 +5587,8 @@ public Builder addResourceTypes( return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4712,19 +5596,20 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4732,16 +5617,19 @@ public Builder addAllResourceTypes(
        * 
* * repeated string resource_types = 2; + * * @return This builder for chaining. */ public Builder clearResourceTypes() { - resourceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + resourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * The Resource Instance type on which this policy applies to. Format will
        * be of the form : "<canonical service name>/<type>" Example:
@@ -4749,12 +5637,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); @@ -4763,8 +5653,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_); @@ -4772,52 +5662,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(); } @@ -4827,15 +5743,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(); } @@ -4845,29 +5767,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() { @@ -4877,23 +5814,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. */ @@ -4901,28 +5847,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. */ @@ -4933,16 +5888,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); @@ -4953,6 +5912,8 @@ public Builder addAllMethodTypesValue( private java.lang.Object condition_ = ""; /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4960,13 +5921,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; @@ -4975,6 +5936,8 @@ public java.lang.String getCondition() { } } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -4982,15 +5945,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 { @@ -4998,6 +5960,8 @@ public java.lang.String getCondition() { } } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5005,18 +5969,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,
@@ -5024,6 +5992,7 @@ public Builder setCondition(
        * 
* * string condition = 4; + * * @return This builder for chaining. */ public Builder clearCondition() { @@ -5033,6 +6002,8 @@ public Builder clearCondition() { return this; } /** + * + * *
        * Organization Policy condition/expression. For example:
        * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
@@ -5040,12 +6011,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; @@ -5055,22 +6028,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. */ @@ -5081,28 +6065,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(); } @@ -5112,11 +6113,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() { @@ -5128,18 +6134,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; @@ -5148,20 +6156,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 { @@ -5169,28 +6178,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() { @@ -5200,17 +6216,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; @@ -5220,18 +6240,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; @@ -5240,20 +6262,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 { @@ -5261,28 +6284,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() { @@ -5292,23 +6322,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) { @@ -5321,41 +6356,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; @@ -5367,22 +6406,26 @@ 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; + @SuppressWarnings("serial") 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; } @@ -5398,30 +6441,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 @@ -5429,42 +6480,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 @@ -5472,36 +6541,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; @@ -5513,13 +6598,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); } @@ -5531,12 +6620,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; @@ -5546,22 +6641,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: @@ -5595,131 +6689,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(); @@ -5736,9 +6835,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 @@ -5757,8 +6856,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; @@ -5771,12 +6873,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(); } } @@ -5785,38 +6885,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; @@ -5824,19 +6925,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(); @@ -5864,26 +6969,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) { @@ -5893,12 +6999,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() { @@ -5911,13 +7017,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 @@ -5925,35 +7039,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(); @@ -5967,11 +7095,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) { @@ -5985,18 +7117,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; } @@ -6012,11 +7155,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) { @@ -6035,50 +7182,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; @@ -6089,13 +7259,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 @@ -6103,35 +7281,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(); @@ -6145,14 +7337,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(); @@ -6163,18 +7360,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; } @@ -6190,11 +7398,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) { @@ -6213,50 +7425,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; @@ -6265,9 +7501,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); } @@ -6277,12 +7513,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(); } @@ -6291,27 +7527,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; @@ -6326,6 +7562,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..a8214e331b2f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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(); + + 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 208628b20e45..02e1e68ef862 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -19,10 +37,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
@@ -34,12 +55,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
@@ -52,10 +75,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
@@ -68,21 +94,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.
    * 
@@ -91,6 +120,8 @@ public interface AnalyzerOrgPolicyOrBuilder extends */ com.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule getRules(int index); /** + * + * *
    * List of rules for this organization policy.
    * 
@@ -99,25 +130,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
@@ -126,11 +162,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.
@@ -140,6 +179,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 ab23d083dcc9..1d90defe1ba1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,54 +35,58 @@
  *
  * 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_ = "";
     orgPolicy_ = java.util.Collections.emptyList();
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -81,33 +102,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 @@ -115,12 +143,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 @@ -128,6 +159,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.
@@ -141,9 +174,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`
@@ -154,6 +190,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -162,14 +199,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 +218,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 +235,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`
    *
@@ -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`
    *
@@ -235,16 +277,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 { @@ -255,11 +296,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 @@ -267,11 +311,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 @@ -279,6 +326,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.
    * 
@@ -293,6 +342,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.
@@ -306,6 +357,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 @@ -313,6 +365,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.
@@ -326,6 +380,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -333,6 +388,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.
@@ -353,9 +410,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).
@@ -370,6 +430,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).
@@ -380,11 +442,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).
@@ -399,6 +463,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).
@@ -413,6 +479,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).
@@ -423,19 +491,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;
   /**
+   *
+   *
    * 
    * 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 @@ -443,22 +513,27 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
    * 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(); } /** + * + * *
    * Also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -467,21 +542,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;
   /**
+   *
+   *
    * 
    * 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 @@ -489,22 +568,27 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
    * 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(); } /** + * + * *
    * Also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -513,21 +597,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;
   /**
+   *
+   *
    * 
    * 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 @@ -535,22 +623,27 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
    * 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(); } /** + * + * *
    * Also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -559,9 +652,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();
   }
@@ -569,6 +663,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)
@@ -576,6 +672,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 @@ -583,6 +680,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)
@@ -590,13 +689,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)
@@ -607,12 +711,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
@@ -622,15 +730,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -640,15 +752,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -660,18 +778,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 @@ -679,18 +803,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.
    * 
@@ -699,14 +830,19 @@ 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.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -719,13 +855,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),
@@ -738,12 +876,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),
@@ -756,6 +897,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -763,6 +905,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),
@@ -775,15 +919,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; @@ -795,8 +940,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -813,13 +957,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)); @@ -852,28 +999,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; @@ -884,20 +1032,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; @@ -907,7 +1051,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); @@ -916,55 +1060,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: @@ -1037,99 +1168,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
@@ -1144,33 +1279,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,17 +1356,16 @@ public Builder clear() {
         relatedAssetBuilder_.dispose();
         relatedAssetBuilder_ = null;
       }
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       accessContextPolicyCase_ = 0;
       accessContextPolicy_ = null;
       return this;
     }
 
     @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
@@ -1254,7 +1386,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;
@@ -1275,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_;
@@ -1286,29 +1418,22 @@ 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();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
         ancestors_.makeImmutable();
@@ -1319,16 +1444,13 @@ private void buildPartial0(com.google.cloud.asset.v1.Asset result) {
     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();
       }
     }
@@ -1337,38 +1459,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;
@@ -1414,9 +1537,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_);
           }
@@ -1442,21 +1566,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();
@@ -1484,104 +1612,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) {
@@ -1591,12 +1715,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() {
@@ -1610,36 +1734,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.
@@ -1661,6 +1798,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.
@@ -1668,8 +1807,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 {
@@ -1680,6 +1818,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1689,9 +1829,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;
@@ -1704,6 +1844,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.
@@ -1722,6 +1864,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1735,6 +1879,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.
@@ -1746,11 +1892,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.
@@ -1759,14 +1908,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_;
@@ -1774,6 +1926,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`
@@ -1784,13 +1938,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; @@ -1799,6 +1953,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1809,15 +1965,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 { @@ -1825,6 +1980,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1835,18 +1992,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`
@@ -1857,6 +2018,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1866,6 +2028,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1876,12 +2040,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; @@ -1891,6 +2057,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1900,13 +2068,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; @@ -1915,6 +2083,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1924,15 +2094,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 { @@ -1940,6 +2109,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1949,18 +2120,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`
      *
@@ -1970,6 +2145,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1979,6 +2155,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1988,12 +2166,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; @@ -2003,34 +2183,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.
      * 
@@ -2051,14 +2244,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 { @@ -2069,6 +2263,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2077,9 +2273,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; @@ -2092,6 +2288,8 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2109,6 +2307,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2121,6 +2321,8 @@ public com.google.cloud.asset.v1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -2131,11 +2333,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.
      * 
@@ -2143,14 +2348,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_; @@ -2158,8 +2366,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.
@@ -2173,12 +2386,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.
@@ -2192,6 +2408,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2202,6 +2419,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.
@@ -2230,6 +2449,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.
@@ -2244,8 +2465,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 {
@@ -2256,6 +2476,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.
@@ -2272,9 +2494,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;
@@ -2287,6 +2509,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.
@@ -2312,6 +2536,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.
@@ -2332,6 +2558,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.
@@ -2350,11 +2578,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.
@@ -2370,32 +2599,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).
@@ -2413,6 +2651,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2430,6 +2670,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2447,6 +2689,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).
@@ -2456,8 +2700,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();
@@ -2471,6 +2714,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2492,6 +2737,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2515,6 +2762,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).
@@ -2524,8 +2773,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();
@@ -2539,6 +2787,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2548,8 +2798,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());
@@ -2560,6 +2809,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2581,6 +2832,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2594,8 +2847,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);
@@ -2603,6 +2855,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2623,6 +2877,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2643,6 +2899,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).
@@ -2652,11 +2910,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).
@@ -2666,14 +2925,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).
@@ -2683,8 +2944,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 {
@@ -2692,6 +2953,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).
@@ -2702,10 +2965,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).
@@ -2715,12 +2980,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).
@@ -2730,34 +2996,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_;
     /**
+     *
+     *
      * 
      * 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 @@ -2765,12 +3039,15 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
      * 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 @@ -2788,6 +3065,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy( } } /** + * + * *
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2809,6 +3088,8 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2828,6 +3109,8 @@ public Builder setAccessPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2835,12 +3118,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;
         }
@@ -2856,6 +3145,8 @@ public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.Acc
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2880,6 +3171,8 @@ public Builder clearAccessPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2887,10 +3180,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();
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2899,7 +3195,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 {
@@ -2910,6 +3207,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
       }
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2918,14 +3217,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());
@@ -2937,14 +3242,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_;
     /**
+     *
+     *
      * 
      * 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 @@ -2952,12 +3263,15 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
      * 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 @@ -2975,6 +3289,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() } } /** + * + * *
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2996,6 +3312,8 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3015,6 +3333,8 @@ public Builder setAccessLevel(
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3024,10 +3344,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;
         }
@@ -3043,6 +3368,8 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3067,6 +3394,8 @@ public Builder clearAccessLevel() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3078,6 +3407,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       return getAccessLevelFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3086,7 +3417,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 {
@@ -3097,6 +3429,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
       }
     }
     /**
+     *
+     *
      * 
      * Also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3105,14 +3439,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());
@@ -3124,14 +3464,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_;
     /**
+     *
+     *
      * 
      * 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 @@ -3139,19 +3485,23 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
      * 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 { @@ -3162,6 +3512,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe } } /** + * + * *
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3169,7 +3521,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();
@@ -3183,6 +3536,8 @@ public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.S
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3202,6 +3557,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3209,12 +3566,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;
         }
@@ -3230,6 +3594,8 @@ public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3254,6 +3620,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3261,10 +3629,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();
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3273,17 +3644,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();
       }
     }
     /**
+     *
+     *
      * 
      * Also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3292,14 +3667,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());
@@ -3312,8 +3693,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)
@@ -3321,12 +3707,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)
@@ -3334,16 +3723,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)
@@ -3366,6 +3760,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)
@@ -3374,8 +3770,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 {
@@ -3386,6 +3781,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)
@@ -3396,9 +3793,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;
@@ -3411,6 +3808,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)
@@ -3430,6 +3829,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)
@@ -3444,6 +3845,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)
@@ -3456,11 +3859,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)
@@ -3470,14 +3876,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_;
@@ -3485,8 +3894,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
@@ -3496,14 +3910,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -3513,18 +3931,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -3535,7 +3959,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();
@@ -3549,6 +3974,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
@@ -3559,7 +3986,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();
@@ -3571,6 +3999,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
@@ -3581,11 +4011,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;
@@ -3598,6 +4029,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
@@ -3608,7 +4041,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) {
@@ -3619,6 +4053,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
@@ -3629,12 +4065,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
@@ -3645,15 +4084,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
@@ -3665,14 +4108,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_;
@@ -3680,34 +4126,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.
      * 
@@ -3728,14 +4187,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 { @@ -3746,6 +4206,8 @@ public Builder setRelatedAsset( return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3754,9 +4216,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; @@ -3769,6 +4231,8 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3786,6 +4250,8 @@ public Builder clearRelatedAsset() { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3798,6 +4264,8 @@ public com.google.cloud.asset.v1.RelatedAsset.Builder getRelatedAssetBuilder() { return getRelatedAssetFieldBuilder().getBuilder(); } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3808,11 +4276,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.
      * 
@@ -3820,14 +4291,17 @@ 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_; @@ -3835,6 +4309,7 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( private com.google.protobuf.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAncestorsIsMutable() { if (!ancestors_.isModifiable()) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); @@ -3842,6 +4317,8 @@ private void ensureAncestorsIsMutable() { bitField0_ |= 0x00001000; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3854,14 +4331,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3874,12 +4353,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),
@@ -3892,6 +4374,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3899,6 +4382,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),
@@ -3911,14 +4396,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),
@@ -3931,13 +4418,15 @@ 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); bitField0_ |= 0x00001000; @@ -3945,6 +4434,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3957,12 +4448,14 @@ 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); bitField0_ |= 0x00001000; @@ -3970,6 +4463,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3982,19 +4477,20 @@ 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_); bitField0_ |= 0x00001000; 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),
@@ -4007,16 +4503,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00001000); + ; 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),
@@ -4029,12 +4528,14 @@ 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); @@ -4042,9 +4543,9 @@ public Builder addAncestorsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4054,12 +4555,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(); } @@ -4068,27 +4569,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; @@ -4103,6 +4604,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 61c521d3fe89..f2904d6afaed 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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`
@@ -48,10 +74,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`
@@ -62,12 +91,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`
    *
@@ -77,10 +108,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`
    *
@@ -90,30 +124,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.
    * 
@@ -123,6 +165,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.
@@ -136,10 +180,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.
@@ -153,10 +200,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.
@@ -174,6 +224,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).
@@ -183,9 +235,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).
@@ -197,6 +250,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).
@@ -208,6 +263,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).
@@ -217,9 +274,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).
@@ -229,30 +288,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);
 
   /**
+   *
+   *
    * 
    * 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(); /** + * + * *
    * 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(); /** + * + * *
    * Also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -263,26 +329,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * 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(); /** + * + * *
    * 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(); /** + * + * *
    * Also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -293,26 +367,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
+   *
+   *
    * 
    * 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(); /** + * + * *
    * 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(); /** + * + * *
    * Also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -320,9 +402,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)
@@ -330,10 +415,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)
@@ -341,10 +429,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)
@@ -356,6 +447,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
@@ -365,12 +458,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -380,12 +477,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=166 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=166 * @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
@@ -396,27 +497,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.
    * 
@@ -426,6 +536,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),
@@ -438,11 +550,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),
@@ -455,10 +569,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),
@@ -471,11 +588,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),
@@ -488,11 +608,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); 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..d54ed5dc265a --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -0,0 +1,670 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_EffectiveTagDetails_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_ResourceSearchResult_SccSecurityMarksEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_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\031google/api/resource" + + ".proto\032)google/cloud/orgpolicy/v1/orgpol" + + "icy.proto\032(google/cloud/osconfig/v1/inve" + + "ntory.proto\032\032google/iam/v1/policy.proto\032" + + ":google/identity/accesscontextmanager/v1" + + "/access_level.proto\032;google/identity/acc" + + "esscontextmanager/v1/access_policy.proto" + + "\032?google/identity/accesscontextmanager/v" + + "1/service_perimeter.proto\032\034google/protob" + + "uf/struct.proto\032\037google/protobuf/timesta" + + "mp.proto\032\025google/rpc/code.proto\"\365\002\n\rTemp" + + "oralAsset\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.Ass" + + "et\022O\n\021prior_asset_state\030\004 \001(\01624.google.c" + + "loud.asset.v1.TemporalAsset.PriorAssetSt" + + "ate\0221\n\013prior_asset\030\005 \001(\0132\034.google.cloud." + + "asset.v1.Asset\"o\n\017PriorAssetState\022!\n\035PRI" + + "OR_ASSET_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020" + + "\001\022\013\n\007INVALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DE" + + "LETED\020\004\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\"\363\005\n\005" + + "Asset\022/\n\013update_time\030\013 \001(\0132\032.google.prot" + + "obuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_ty" + + "pe\030\002 \001(\t\0221\n\010resource\030\003 \001(\0132\037.google.clou" + + "d.asset.v1.Resource\022)\n\niam_policy\030\004 \001(\0132" + + "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" + + "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" + + "\raccess_policy\030\007 \001(\01325.google.identity.a" + + "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + + "\014access_level\030\010 \001(\01324.google.identity.ac" + + "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + + "ervice_perimeter\030\t \001(\01329.google.identity" + + ".accesscontextmanager.v1.ServicePerimete" + + "rH\000\0229\n\014os_inventory\030\014 \001(\0132#.google.cloud" + + ".osconfig.v1.Inventory\022@\n\016related_assets" + + "\030\r \001(\0132$.google.cloud.asset.v1.RelatedAs" + + "setsB\002\030\001\022:\n\rrelated_asset\030\017 \001(\0132#.google" + + ".cloud.asset.v1.RelatedAsset\022\021\n\tancestor" + + "s\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis.com/" + + "Asset\022\001*B\027\n\025access_context_policy\"\262\001\n\010Re" + + "source\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_doc" + + "ument_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.Struct\022\020\n\010" + + "location\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027rela" + + "tionship_attributes\030\001 \001(\0132-.google.cloud" + + ".asset.v1.RelationshipAttributes\0223\n\006asse" + + "ts\030\002 \003(\0132#.google.cloud.asset.v1.Related" + + "Asset:\002\030\001\"v\n\026RelationshipAttributes\022\014\n\004t" + + "ype\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\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\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031" + + "\n\021relationship_type\030\004 \001(\t\"y\n\003Tag\022\024\n\007tag_" + + "key\030\001 \001(\tH\000\210\001\001\022\026\n\ttag_value\030\003 \001(\tH\001\210\001\001\022\031" + + "\n\014tag_value_id\030\004 \001(\tH\002\210\001\001B\n\n\010_tag_keyB\014\n" + + "\n_tag_valueB\017\n\r_tag_value_id\"\177\n\023Effectiv" + + "eTagDetails\022\036\n\021attached_resource\030\001 \001(\tH\000" + + "\210\001\001\0222\n\016effective_tags\030\002 \003(\0132\032.google.clo" + + "ud.asset.v1.TagB\024\n\022_attached_resource\"\332\t" + + "\n\024ResourceSearchResult\022\014\n\004name\030\001 \001(\t\022\022\n\n" + + "asset_type\030\002 \001(\t\022\017\n\007project\030\003 \001(\t\022\017\n\007fol" + + "ders\030\021 \003(\t\022\024\n\014organization\030\022 \001(\t\022\024\n\014disp" + + "lay_name\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022\020\n\010l" + + "ocation\030\006 \001(\t\022G\n\006labels\030\007 \003(\01327.google.c" + + "loud.asset.v1.ResourceSearchResult.Label" + + "sEntry\022\024\n\014network_tags\030\010 \003(\t\022\023\n\007kms_key\030" + + "\n \001(\tB\002\030\001\022\020\n\010kms_keys\030\034 \003(\t\022/\n\013create_ti" + + "me\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013" + + "update_time\030\014 \001(\0132\032.google.protobuf.Time" + + "stamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attri" + + "butes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031" + + "parent_full_resource_name\030\023 \001(\t\022E\n\023versi" + + "oned_resources\030\020 \003(\0132(.google.cloud.asse" + + "t.v1.VersionedResource\022C\n\022attached_resou" + + "rces\030\024 \003(\0132\'.google.cloud.asset.v1.Attac" + + "hedResource\022U\n\rrelationships\030\025 \003(\0132>.goo" + + "gle.cloud.asset.v1.ResourceSearchResult." + + "RelationshipsEntry\022\024\n\010tag_keys\030\027 \003(\tB\002\030\001" + + "\022\026\n\ntag_values\030\031 \003(\tB\002\030\001\022\031\n\rtag_value_id" + + "s\030\032 \003(\tB\002\030\001\022(\n\004tags\030\035 \003(\0132\032.google.cloud" + + ".asset.v1.Tag\022B\n\016effective_tags\030\036 \003(\0132*." + + "google.cloud.asset.v1.EffectiveTagDetail" + + "s\022\031\n\021parent_asset_type\030g \001(\t\022]\n\022scc_secu" + + "rity_marks\030 \003(\0132A.google.cloud.asset.v1" + + ".ResourceSearchResult.SccSecurityMarksEn" + + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003key\030" + + "\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.asse" + + "t.v1.RelatedResources:\0028\001\0327\n\025SccSecurity" + + "MarksEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\"O\n\021VersionedResource\022\017\n\007version\030\001 \001(\t" + + "\022)\n\010resource\030\002 \001(\0132\027.google.protobuf.Str" + + "uct\"m\n\020AttachedResource\022\022\n\nasset_type\030\001 " + + "\001(\t\022E\n\023versioned_resources\030\003 \003(\0132(.googl" + + "e.cloud.asset.v1.VersionedResource\"U\n\020Re" + + "latedResources\022A\n\021related_resources\030\001 \003(" + + "\0132&.google.cloud.asset.v1.RelatedResourc" + + "e\"A\n\017RelatedResource\022\022\n\nasset_type\030\001 \001(\t" + + "\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025IamPoli" + + "cySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n\nasse" + + "t_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007folders" + + "\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006policy\030\003" + + " \001(\0132\025.google.iam.v1.Policy\022M\n\013explanati" + + "on\030\004 \001(\01328.google.cloud.asset.v1.IamPoli" + + "cySearchResult.Explanation\032\241\002\n\013Explanati" + + "on\022m\n\023matched_permissions\030\001 \003(\0132P.google" + + ".cloud.asset.v1.IamPolicySearchResult.Ex" + + "planation.MatchedPermissionsEntry\032\"\n\013Per" + + "missions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Matched" + + "PermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002" + + " \001(\0132D.google.cloud.asset.v1.IamPolicySe" + + "archResult.Explanation.Permissions:\0028\001\"G" + + "\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 \001(\0162\020" + + ".google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023Cond" + + "itionEvaluation\022T\n\020evaluation_value\030\001 \001(" + + "\0162:.google.cloud.asset.v1.ConditionEvalu" + + "ation.EvaluationValue\"Y\n\017EvaluationValue" + + "\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022\010\n\004TR" + + "UE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t\n\027Iam" + + "PolicyAnalysisResult\022#\n\033attached_resourc" + + "e_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026" + + ".google.iam.v1.Binding\022^\n\024access_control" + + "_lists\030\003 \003(\0132@.google.cloud.asset.v1.Iam" + + "PolicyAnalysisResult.AccessControlList\022R" + + "\n\ridentity_list\030\004 \001(\0132;.google.cloud.ass" + + "et.v1.IamPolicyAnalysisResult.IdentityLi" + + "st\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resource\022\032" + + "\n\022full_resource_name\030\001 \001(\t\022E\n\016analysis_s" + + "tate\030\002 \001(\0132-.google.cloud.asset.v1.IamPo" + + "licyAnalysisState\032\205\001\n\006Access\022\016\n\004role\030\001 \001" + + "(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analysis_s" + + "tate\030\003 \001(\0132-.google.cloud.asset.v1.IamPo" + + "licyAnalysisStateB\016\n\014oneof_access\032_\n\010Ide" + + "ntity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_state\030\002 " + + "\001(\0132-.google.cloud.asset.v1.IamPolicyAna" + + "lysisState\0320\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022" + + "\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessControlLi" + + "st\022J\n\tresources\030\001 \003(\01327.google.cloud.ass" + + "et.v1.IamPolicyAnalysisResult.Resource\022G" + + "\n\010accesses\030\002 \003(\01325.google.cloud.asset.v1" + + ".IamPolicyAnalysisResult.Access\022K\n\016resou" + + "rce_edges\030\003 \003(\01323.google.cloud.asset.v1." + + "IamPolicyAnalysisResult.Edge\022H\n\024conditio" + + "n_evaluation\030\004 \001(\0132*.google.cloud.asset." + + "v1.ConditionEvaluation\032\245\001\n\014IdentityList\022" + + "K\n\nidentities\030\001 \003(\01327.google.cloud.asset" + + ".v1.IamPolicyAnalysisResult.Identity\022H\n\013" + + "group_edges\030\002 \003(\01323.google.cloud.asset.v" + + "1.IamPolicyAnalysisResult.EdgeB\215\001\n\031com.g" + + "oogle.cloud.asset.v1B\nAssetProtoP\001Z/clou" + + "d.google.com/go/asset/apiv1/assetpb;asse" + + "tpb\370\001\001\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" + + "Cloud\\Asset\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.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_Tag_descriptor = getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Tag_descriptor, + new java.lang.String[] { + "TagKey", "TagValue", "TagValueId", "TagKey", "TagValue", "TagValueId", + }); + internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor, + new java.lang.String[] { + "AttachedResource", "EffectiveTags", "AttachedResource", + }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = + getDescriptor().getMessageTypes().get(9); + 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", + "Tags", + "EffectiveTags", + "ParentAssetType", + "SccSecurityMarks", + }); + 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_ResourceSearchResult_SccSecurityMarksEntry_descriptor = + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_asset_v1_VersionedResource_descriptor = + getDescriptor().getMessageTypes().get(10); + 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(11); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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.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..f19bf9c3db3f --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -0,0 +1,1673 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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\0225\n\013create_time\030\001 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003\"\253\002\n\023ExportAssets" + + "Request\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037clouda" + + "sset.googleapis.com/Asset\022-\n\tread_time\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022\023\n\013asse" + + "t_types\030\003 \003(\t\0228\n\014content_type\030\004 \001(\0162\".go" + + "ogle.cloud.asset.v1.ContentType\022@\n\routpu" + + "t_config\030\005 \001(\0132#.google.cloud.asset.v1.O" + + "utputConfigB\004\342A\001\002\022\032\n\022relationship_types\030" + + "\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n\tread_t" + + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022:\n" + + "\routput_config\030\002 \001(\0132#.google.cloud.asse" + + "t.v1.OutputConfig\022:\n\routput_result\030\003 \001(\013" + + "2#.google.cloud.asset.v1.OutputResult\"\216\002" + + "\n\021ListAssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001" + + "\002\372A!\022\037cloudasset.googleapis.com/Asset\022-\n" + + "\tread_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_typ" + + "e\030\004 \001(\0162\".google.cloud.asset.v1.ContentT" + + "ype\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\022ListA" + + "ssetsResponse\022-\n\tread_time\030\001 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.g" + + "oogle.cloud.asset.v1.Asset\022\027\n\017next_page_" + + "token\030\003 \001(\t\"\222\002\n\034BatchGetAssetsHistoryReq" + + "uest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037cloudasse" + + "t.googleapis.com/Asset\022\023\n\013asset_names\030\002 " + + "\003(\t\022>\n\014content_type\030\003 \001(\0162\".google.cloud" + + ".asset.v1.ContentTypeB\004\342A\001\001\022A\n\020read_time" + + "_window\030\004 \001(\0132!.google.cloud.asset.v1.Ti" + + "meWindowB\004\342A\001\001\022 \n\022relationship_types\030\005 \003" + + "(\tB\004\342A\001\001\"U\n\035BatchGetAssetsHistoryRespons" + + "e\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset.v" + + "1.TemporalAsset\"q\n\021CreateFeedRequest\022\024\n\006" + + "parent\030\001 \001(\tB\004\342A\001\002\022\025\n\007feed_id\030\002 \001(\tB\004\342A\001" + + "\002\022/\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." + + "FeedB\004\342A\001\002\"G\n\016GetFeedRequest\0225\n\004name\030\001 \001" + + "(\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com/F" + + "eed\"(\n\020ListFeedsRequest\022\024\n\006parent\030\001 \001(\tB" + + "\004\342A\001\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(" + + "\0132\033.google.cloud.asset.v1.Feed\"{\n\021Update" + + "FeedRequest\022/\n\004feed\030\001 \001(\0132\033.google.cloud" + + ".asset.v1.FeedB\004\342A\001\002\0225\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"J\n\021D" + + "eleteFeedRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n" + + "\036cloudasset.googleapis.com/Feed\"\253\001\n\014Outp" + + "utConfig\022@\n\017gcs_destination\030\001 \001(\0132%.goog" + + "le.cloud.asset.v1.GcsDestinationH\000\022J\n\024bi" + + "gquery_destination\030\002 \001(\0132*.google.cloud." + + "asset.v1.BigQueryDestinationH\000B\r\n\013destin" + + "ation\"V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(" + + "\0132&.google.cloud.asset.v1.GcsOutputResul" + + "tH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uris" + + "\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022" + + "\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\266\001\n\023" + + "BigQueryDestination\022\025\n\007dataset\030\001 \001(\tB\004\342A" + + "\001\002\022\023\n\005table\030\002 \001(\tB\004\342A\001\002\022\r\n\005force\030\003 \001(\010\022<" + + "\n\016partition_spec\030\004 \001(\0132$.google.cloud.as" + + "set.v1.PartitionSpec\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.ass" + + "et.v1.PartitionSpec.PartitionKey\"N\n\014Part" + + "itionKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022" + + "\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021Pubs" + + "ubDestination\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutp" + + "utConfig\022F\n\022pubsub_destination\030\001 \001(\0132(.g" + + "oogle.cloud.asset.v1.PubsubDestinationH\000" + + "B\r\n\013destination\"\237\003\n\004Feed\022\022\n\004name\030\001 \001(\tB\004" + + "\342A\001\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset_types" + + "\030\003 \003(\t\0228\n\014content_type\030\004 \001(\0162\".google.cl" + + "oud.asset.v1.ContentType\022I\n\022feed_output_" + + "config\030\005 \001(\0132\'.google.cloud.asset.v1.Fee" + + "dOutputConfigB\004\342A\001\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\036cloudasset.googleapis.com/" + + "Feed\022\037projects/{project}/feeds/{feed}\022\035f" + + "olders/{folder}/feeds/{feed}\022)organizati" + + "ons/{organization}/feeds/{feed} \001\"\340\001\n\031Se" + + "archAllResourcesRequest\022\023\n\005scope\030\001 \001(\tB\004" + + "\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342A\001\001\022\031\n\013asset_types" + + "\030\003 \003(\tB\004\342A\001\001\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n" + + "\npage_token\030\005 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\006 \001(" + + "\tB\004\342A\001\001\0223\n\tread_mask\030\010 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\004\342A\001\001\"s\n\032SearchAllResourc" + + "esResponse\022<\n\007results\030\001 \003(\0132+.google.clo" + + "ud.asset.v1.ResourceSearchResult\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\255\001\n\033SearchAllIamPolici" + + "esRequest\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\023\n\005query\030" + + "\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" + + "page_token\030\004 \001(\tB\004\342A\001\001\022\031\n\013asset_types\030\005 " + + "\003(\tB\004\342A\001\001\022\026\n\010order_by\030\007 \001(\tB\004\342A\001\001\"v\n\034Sea" + + "rchAllIamPoliciesResponse\022=\n\007results\030\001 \003" + + "(\0132,.google.cloud.asset.v1.IamPolicySear" + + "chResult\022\027\n\017next_page_token\030\002 \001(\t\"\326\007\n\026Ia" + + "mPolicyAnalysisQuery\022\023\n\005scope\030\001 \001(\tB\004\342A\001" + + "\002\022_\n\021resource_selector\030\002 \001(\0132>.google.cl" + + "oud.asset.v1.IamPolicyAnalysisQuery.Reso" + + "urceSelectorB\004\342A\001\001\022_\n\021identity_selector\030" + + "\003 \001(\0132>.google.cloud.asset.v1.IamPolicyA" + + "nalysisQuery.IdentitySelectorB\004\342A\001\001\022[\n\017a" + + "ccess_selector\030\004 \001(\0132<.google.cloud.asse" + + "t.v1.IamPolicyAnalysisQuery.AccessSelect" + + "orB\004\342A\001\001\022L\n\007options\030\005 \001(\01325.google.cloud" + + ".asset.v1.IamPolicyAnalysisQuery.Options" + + "B\004\342A\001\001\022_\n\021condition_context\030\006 \001(\0132>.goog" + + "le.cloud.asset.v1.IamPolicyAnalysisQuery" + + ".ConditionContextB\004\342A\001\001\0324\n\020ResourceSelec" + + "tor\022 \n\022full_resource_name\030\001 \001(\tB\004\342A\001\002\032*\n" + + "\020IdentitySelector\022\026\n\010identity\030\001 \001(\tB\004\342A\001" + + "\002\032@\n\016AccessSelector\022\023\n\005roles\030\001 \003(\tB\004\342A\001\001" + + "\022\031\n\013permissions\030\002 \003(\tB\004\342A\001\001\032\336\001\n\007Options\022" + + "\033\n\rexpand_groups\030\001 \001(\010B\004\342A\001\001\022\032\n\014expand_r" + + "oles\030\002 \001(\010B\004\342A\001\001\022\036\n\020expand_resources\030\003 \001" + + "(\010B\004\342A\001\001\022#\n\025output_resource_edges\030\004 \001(\010B" + + "\004\342A\001\001\022 \n\022output_group_edges\030\005 \001(\010B\004\342A\001\001\022" + + "3\n%analyze_service_account_impersonation" + + "\030\006 \001(\010B\004\342A\001\001\032T\n\020ConditionContext\0221\n\013acce" + + "ss_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "pH\000B\r\n\013TimeContext\"\306\001\n\027AnalyzeIamPolicyR" + + "equest\022K\n\016analysis_query\030\001 \001(\0132-.google." + + "cloud.asset.v1.IamPolicyAnalysisQueryB\004\342" + + "A\001\002\022\"\n\024saved_analysis_query\030\003 \001(\tB\004\342A\001\001\022" + + ":\n\021execution_timeout\030\002 \001(\0132\031.google.prot" + + "obuf.DurationB\004\342A\001\001\"\212\004\n\030AnalyzeIamPolicy" + + "Response\022X\n\rmain_analysis\030\001 \001(\0132A.google" + + ".cloud.asset.v1.AnalyzeIamPolicyResponse" + + ".IamPolicyAnalysis\022q\n&service_account_im" + + "personation_analysis\030\002 \003(\0132A.google.clou" + + "d.asset.v1.AnalyzeIamPolicyResponse.IamP" + + "olicyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002" + + "\n\021IamPolicyAnalysis\022E\n\016analysis_query\030\001 " + + "\001(\0132-.google.cloud.asset.v1.IamPolicyAna" + + "lysisQuery\022H\n\020analysis_results\030\002 \003(\0132..g" + + "oogle.cloud.asset.v1.IamPolicyAnalysisRe" + + "sult\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_crit" + + "ical_errors\030\005 \003(\0132-.google.cloud.asset.v" + + "1.IamPolicyAnalysisState\"\270\004\n\035IamPolicyAn" + + "alysisOutputConfig\022^\n\017gcs_destination\030\001 " + + "\001(\0132C.google.cloud.asset.v1.IamPolicyAna" + + "lysisOutputConfig.GcsDestinationH\000\022h\n\024bi" + + "gquery_destination\030\002 \001(\0132H.google.cloud." + + "asset.v1.IamPolicyAnalysisOutputConfig.B" + + "igQueryDestinationH\000\032#\n\016GcsDestination\022\021" + + "\n\003uri\030\001 \001(\tB\004\342A\001\002\032\230\002\n\023BigQueryDestinatio" + + "n\022\025\n\007dataset\030\001 \001(\tB\004\342A\001\002\022\032\n\014table_prefix" + + "\030\002 \001(\tB\004\342A\001\002\022l\n\rpartition_key\030\003 \001(\0162U.go" + + "ogle.cloud.asset.v1.IamPolicyAnalysisOut" + + "putConfig.BigQueryDestination.PartitionK" + + "ey\022\037\n\021write_disposition\030\004 \001(\tB\004\342A\001\001\"?\n\014P" + + "artitionKey\022\035\n\031PARTITION_KEY_UNSPECIFIED" + + "\020\000\022\020\n\014REQUEST_TIME\020\001B\r\n\013destination\"\350\001\n\"" + + "AnalyzeIamPolicyLongrunningRequest\022K\n\016an" + + "alysis_query\030\001 \001(\0132-.google.cloud.asset." + + "v1.IamPolicyAnalysisQueryB\004\342A\001\002\022\"\n\024saved" + + "_analysis_query\030\003 \001(\tB\004\342A\001\001\022Q\n\routput_co" + + "nfig\030\002 \001(\01324.google.cloud.asset.v1.IamPo" + + "licyAnalysisOutputConfigB\004\342A\001\002\"%\n#Analyz" + + "eIamPolicyLongrunningResponse\"\273\005\n\nSavedQ" + + "uery\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022" + + "5\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022\025\n\007creator\030\004 \001(\tB\004\342A\001\003\022:\n" + + "\020last_update_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022\032\n\014last_updater\030\006 \001(\tB" + + "\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google.cloud.ass" + + "et.v1.SavedQuery.LabelsEntry\022?\n\007content\030" + + "\010 \001(\0132..google.cloud.asset.v1.SavedQuery" + + ".QueryContent\032s\n\014QueryContent\022R\n\031iam_pol" + + "icy_analysis_query\030\001 \001(\0132-.google.cloud." + + "asset.v1.IamPolicyAnalysisQueryH\000B\017\n\rque" + + "ry_content\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:\277\001\352A\273\001\n$cloudasset.goo" + + "gleapis.com/SavedQuery\022-projects/{projec" + + "t}/savedQueries/{saved_query}\022+folders/{" + + "folder}/savedQueries/{saved_query}\0227orga" + + "nizations/{organization}/savedQueries/{s" + + "aved_query}\"\264\001\n\027CreateSavedQueryRequest\022" + + "=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$cloudasset.goo" + + "gleapis.com/SavedQuery\022<\n\013saved_query\030\002 " + + "\001(\0132!.google.cloud.asset.v1.SavedQueryB\004" + + "\342A\001\002\022\034\n\016saved_query_id\030\003 \001(\tB\004\342A\001\002\"S\n\024Ge" + + "tSavedQueryRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A" + + "&\n$cloudasset.googleapis.com/SavedQuery\"" + + "\241\001\n\027ListSavedQueriesRequest\022=\n\006parent\030\001 " + + "\001(\tB-\342A\001\002\372A&\022$cloudasset.googleapis.com/" + + "SavedQuery\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\027\n\tpage" + + "_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342" + + "A\001\001\"m\n\030ListSavedQueriesResponse\0228\n\rsaved" + + "_queries\030\001 \003(\0132!.google.cloud.asset.v1.S" + + "avedQuery\022\027\n\017next_page_token\030\002 \001(\t\"\216\001\n\027U" + + "pdateSavedQueryRequest\022<\n\013saved_query\030\001 " + + "\001(\0132!.google.cloud.asset.v1.SavedQueryB\004" + + "\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMaskB\004\342A\001\002\"V\n\027DeleteSavedQueryR" + + "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$cloudasse" + + "t.googleapis.com/SavedQuery\"\216\002\n\022AnalyzeM" + + "oveRequest\022F\n\010resource\030\001 \001(\tB4\342A\001\002\372A-\n+c" + + "loudresourcemanager.googleapis.com/Proje" + + "ct\022&\n\022destination_parent\030\002 \001(\tB\n\342A\001\002\372A\003\n" + + "\001*\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" + + ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" + + "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" + + "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" + + "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" + + "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" + + "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" + + "2).google.cloud.asset.v1.MoveAnalysisRes" + + "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" + + "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" + + "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" + + "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" + + ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" + + "tail\030\001 \001(\t\"\331\001\n\027QueryAssetsOutputConfig\022`" + + "\n\024bigquery_destination\030\001 \001(\0132B.google.cl" + + "oud.asset.v1.QueryAssetsOutputConfig.Big" + + "QueryDestination\032\\\n\023BigQueryDestination\022" + + "\025\n\007dataset\030\001 \001(\tB\004\342A\001\002\022\023\n\005table\030\002 \001(\tB\004\342" + + "A\001\002\022\031\n\021write_disposition\030\003 \001(\t\"\307\003\n\022Query" + + "AssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037" + + "cloudasset.googleapis.com/Asset\022\031\n\tstate" + + "ment\030\002 \001(\tB\004\342A\001\001H\000\022\035\n\rjob_reference\030\003 \001(" + + "\tB\004\342A\001\001H\000\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n\npa" + + "ge_token\030\005 \001(\tB\004\342A\001\001\0220\n\007timeout\030\006 \001(\0132\031." + + "google.protobuf.DurationB\004\342A\001\001\022C\n\020read_t" + + "ime_window\030\007 \001(\0132!.google.cloud.asset.v1" + + ".TimeWindowB\004\342A\001\001H\001\0225\n\tread_time\030\010 \001(\0132\032" + + ".google.protobuf.TimestampB\004\342A\001\001H\001\022K\n\rou" + + "tput_config\030\t \001(\0132..google.cloud.asset.v" + + "1.QueryAssetsOutputConfigB\004\342A\001\001B\007\n\005query" + + "B\006\n\004time\"\360\001\n\023QueryAssetsResponse\022\025\n\rjob_" + + "reference\030\001 \001(\t\022\014\n\004done\030\002 \001(\010\022#\n\005error\030\003" + + " \001(\0132\022.google.rpc.StatusH\000\022:\n\014query_resu" + + "lt\030\004 \001(\0132\".google.cloud.asset.v1.QueryRe" + + "sultH\000\022G\n\routput_config\030\005 \001(\0132..google.c" + + "loud.asset.v1.QueryAssetsOutputConfigH\000B" + + "\n\n\010response\"\225\001\n\013QueryResult\022%\n\004rows\030\001 \003(" + + "\0132\027.google.protobuf.Struct\0222\n\006schema\030\002 \001" + + "(\0132\".google.cloud.asset.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\'.goo" + + "gle.cloud.asset.v1.TableFieldSchema\"v\n\020T" + + "ableFieldSchema\022\r\n\005field\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\'.goo" + + "gle.cloud.asset.v1.TableFieldSchema\"[\n#B" + + "atchGetEffectiveIamPoliciesRequest\022\031\n\005sc" + + "ope\030\001 \001(\tB\n\342A\001\002\372A\003\022\001*\022\031\n\005names\030\003 \003(\tB\n\342A" + + "\001\002\372A\003\n\001*\"\376\002\n$BatchGetEffectiveIamPolicie" + + "sResponse\022f\n\016policy_results\030\002 \003(\0132N.goog" + + "le.cloud.asset.v1.BatchGetEffectiveIamPo" + + "liciesResponse.EffectiveIamPolicy\032\355\001\n\022Ef" + + "fectiveIamPolicy\022\032\n\022full_resource_name\030\001" + + " \001(\t\022k\n\010policies\030\002 \003(\0132Y.google.cloud.as" + + "set.v1.BatchGetEffectiveIamPoliciesRespo" + + "nse.EffectiveIamPolicy.PolicyInfo\032N\n\nPol" + + "icyInfo\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006po" + + "licy\030\002 \001(\0132\025.google.iam.v1.Policy\"\262\003\n\021An" + + "alyzerOrgPolicy\022\031\n\021attached_resource\030\001 \001" + + "(\t\022\030\n\020applied_resource\030\005 \001(\t\022<\n\005rules\030\002 " + + "\003(\0132-.google.cloud.asset.v1.AnalyzerOrgP" + + "olicy.Rule\022\033\n\023inherit_from_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.AnalyzerOrgPolic" + + "y.Rule.StringValuesH\000\022\023\n\tallow_all\030\004 \001(\010" + + "H\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\016allowed_values\030\001 \003(\t\022" + + "\025\n\rdenied_values\030\002 \003(\tB\006\n\004kind\"\221\n\n\033Analy" + + "zerOrgPolicyConstraint\022b\n\031google_defined" + + "_constraint\030\001 \001(\0132=.google.cloud.asset.v" + + "1.AnalyzerOrgPolicyConstraint.Constraint" + + "H\000\022`\n\021custom_constraint\030\002 \001(\0132C.google.c" + + "loud.asset.v1.AnalyzerOrgPolicyConstrain" + + "t.CustomConstraintH\000\032\277\004\n\nConstraint\022\014\n\004n" + + "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" + + "iption\030\003 \001(\t\022k\n\022constraint_default\030\004 \001(\016" + + "2O.google.cloud.asset.v1.AnalyzerOrgPoli" + + "cyConstraint.Constraint.ConstraintDefaul" + + "t\022g\n\017list_constraint\030\005 \001(\0132L.google.clou" + + "d.asset.v1.AnalyzerOrgPolicyConstraint.C" + + "onstraint.ListConstraintH\000\022m\n\022boolean_co" + + "nstraint\030\006 \001(\0132O.google.cloud.asset.v1.A" + + "nalyzerOrgPolicyConstraint.Constraint.Bo" + + "oleanConstraintH\000\032=\n\016ListConstraint\022\023\n\013s" + + "upports_in\030\001 \001(\010\022\026\n\016supports_under\030\002 \001(\010" + + "\032\023\n\021BooleanConstraint\"L\n\021ConstraintDefau" + + "lt\022\"\n\036CONSTRAINT_DEFAULT_UNSPECIFIED\020\000\022\t" + + "\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017constraint_type\032\320" + + "\003\n\020CustomConstraint\022\014\n\004name\030\001 \001(\t\022\026\n\016res" + + "ource_types\030\002 \003(\t\022d\n\014method_types\030\003 \003(\0162" + + "N.google.cloud.asset.v1.AnalyzerOrgPolic" + + "yConstraint.CustomConstraint.MethodType\022" + + "\021\n\tcondition\030\004 \001(\t\022c\n\013action_type\030\005 \001(\0162" + + "N.google.cloud.asset.v1.AnalyzerOrgPolic" + + "yConstraint.CustomConstraint.ActionType\022" + + "\024\n\014display_name\030\006 \001(\t\022\023\n\013description\030\007 \001" + + "(\t\"M\n\nMethodType\022\033\n\027METHOD_TYPE_UNSPECIF" + + "IED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020" + + "\003\">\n\nActionType\022\033\n\027ACTION_TYPE_UNSPECIFI" + + "ED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\027\n\025constraint_" + + "definition\"\224\001\n\031AnalyzeOrgPoliciesRequest" + + "\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\030\n\nconstraint\030\002 \001(" + + "\tB\004\342A\001\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_siz" + + "e\"\370\002\n\032AnalyzeOrgPoliciesResponse\022]\n\022org_" + + "policy_results\030\001 \003(\0132A.google.cloud.asse" + + "t.v1.AnalyzeOrgPoliciesResponse.OrgPolic" + + "yResult\022F\n\nconstraint\030\002 \001(\01322.google.clo" + + "ud.asset.v1.AnalyzerOrgPolicyConstraint\022" + + "\027\n\017next_page_token\030\003 \001(\t\032\231\001\n\017OrgPolicyRe" + + "sult\022E\n\023consolidated_policy\030\001 \001(\0132(.goog" + + "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" + + "olicy_bundle\030\002 \003(\0132(.google.cloud.asset." + + "v1.AnalyzerOrgPolicy\"\244\001\n)AnalyzeOrgPolic" + + "yGovernedContainersRequest\022\023\n\005scope\030\001 \001(" + + "\tB\004\342A\001\002\022\030\n\nconstraint\030\002 \001(\tB\004\342A\001\002\022\016\n\006fil" + + "ter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npag" + + "e_token\030\005 \001(\tB\014\n\n_page_size\"\311\003\n*AnalyzeO" + + "rgPolicyGovernedContainersResponse\022p\n\023go" + + "verned_containers\030\001 \003(\0132S.google.cloud.a" + + "sset.v1.AnalyzeOrgPolicyGovernedContaine" + + "rsResponse.GovernedContainer\022F\n\nconstrai" + + "nt\030\002 \001(\01322.google.cloud.asset.v1.Analyze" + + "rOrgPolicyConstraint\022\027\n\017next_page_token\030" + + "\003 \001(\t\032\307\001\n\021GovernedContainer\022\032\n\022full_reso" + + "urce_name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022E\n\023conso" + + "lidated_policy\030\003 \001(\0132(.google.cloud.asse" + + "t.v1.AnalyzerOrgPolicy\022?\n\rpolicy_bundle\030" + + "\004 \003(\0132(.google.cloud.asset.v1.AnalyzerOr" + + "gPolicy\"\240\001\n%AnalyzeOrgPolicyGovernedAsse" + + "tsRequest\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\030\n\nconstr" + + "aint\030\002 \001(\tB\004\342A\001\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\"\200\007\n&AnalyzeOrgPolicyGovernedA" + + "ssetsResponse\022d\n\017governed_assets\030\001 \003(\0132K" + + ".google.cloud.asset.v1.AnalyzeOrgPolicyG" + + "overnedAssetsResponse.GovernedAsset\022F\n\nc" + + "onstraint\030\002 \001(\01322.google.cloud.asset.v1." + + "AnalyzerOrgPolicyConstraint\022\027\n\017next_page" + + "_token\030\003 \001(\t\032v\n\020GovernedResource\022\032\n\022full" + + "_resource_name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\017\n\007" + + "project\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organi" + + "zation\030\007 \001(\t\032\215\001\n\021GovernedIamPolicy\022\031\n\021at" + + "tached_resource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025." + + "google.iam.v1.Policy\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\206\003\n" + + "\rGovernedAsset\022k\n\021governed_resource\030\001 \001(" + + "\0132N.google.cloud.asset.v1.AnalyzeOrgPoli" + + "cyGovernedAssetsResponse.GovernedResourc" + + "eH\000\022n\n\023governed_iam_policy\030\002 \001(\0132O.googl" + + "e.cloud.asset.v1.AnalyzeOrgPolicyGoverne" + + "dAssetsResponse.GovernedIamPolicyH\000\022E\n\023c" + + "onsolidated_policy\030\003 \001(\0132(.google.cloud." + + "asset.v1.AnalyzerOrgPolicy\022?\n\rpolicy_bun" + + "dle\030\004 \003(\0132(.google.cloud.asset.v1.Analyz" + + "erOrgPolicyB\020\n\016governed_asset*\220\001\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\005\022\020\n\014OS_INVENTORY\020\006\022\020" + + "\n\014RELATIONSHIP\020\0072\321 \n\014AssetService\022\336\001\n\014Ex" + + "portAssets\022*.google.cloud.asset.v1.Expor" + + "tAssetsRequest\032\035.google.longrunning.Oper" + + "ation\"\202\001\312AW\n*google.cloud.asset.v1.Expor" + + "tAssetsResponse\022)google.cloud.asset.v1.E" + + "xportAssetsRequest\202\323\344\223\002\"\"\035/v1/{parent=*/" + + "*}:exportAssets:\001*\022\213\001\n\nListAssets\022(.goog" + + "le.cloud.asset.v1.ListAssetsRequest\032).go" + + "ogle.cloud.asset.v1.ListAssetsResponse\"(" + + "\332A\006parent\202\323\344\223\002\031\022\027/v1/{parent=*/*}/assets" + + "\022\262\001\n\025BatchGetAssetsHistory\0223.google.clou" + + "d.asset.v1.BatchGetAssetsHistoryRequest\032" + + "4.google.cloud.asset.v1.BatchGetAssetsHi" + + "storyResponse\".\202\323\344\223\002(\022&/v1/{parent=*/*}:" + + "batchGetAssetsHistory\022\177\n\nCreateFeed\022(.go" + + "ogle.cloud.asset.v1.CreateFeedRequest\032\033." + + "google.cloud.asset.v1.Feed\"*\332A\006parent\202\323\344" + + "\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\022t\n\007GetFee" + + "d\022%.google.cloud.asset.v1.GetFeedRequest" + + "\032\033.google.cloud.asset.v1.Feed\"%\332A\004name\202\323" + + "\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\022\207\001\n\tListFee" + + "ds\022\'.google.cloud.asset.v1.ListFeedsRequ" + + "est\032(.google.cloud.asset.v1.ListFeedsRes" + + "ponse\"\'\332A\006parent\202\323\344\223\002\030\022\026/v1/{parent=*/*}" + + "/feeds\022\202\001\n\nUpdateFeed\022(.google.cloud.ass" + + "et.v1.UpdateFeedRequest\032\033.google.cloud.a" + + "sset.v1.Feed\"-\332A\004feed\202\323\344\223\002 2\033/v1/{feed.n" + + "ame=*/*/feeds/*}:\001*\022u\n\nDeleteFeed\022(.goog" + + "le.cloud.asset.v1.DeleteFeedRequest\032\026.go" + + "ogle.protobuf.Empty\"%\332A\004name\202\323\344\223\002\030*\026/v1/", + "{name=*/*/feeds/*}\022\277\001\n\022SearchAllResource" + + "s\0220.google.cloud.asset.v1.SearchAllResou" + + "rcesRequest\0321.google.cloud.asset.v1.Sear" + + "chAllResourcesResponse\"D\332A\027scope,query,a" + + "sset_types\202\323\344\223\002$\022\"/v1/{scope=*/*}:search" + + "AllResources\022\273\001\n\024SearchAllIamPolicies\0222." + + "google.cloud.asset.v1.SearchAllIamPolici" + + "esRequest\0323.google.cloud.asset.v1.Search" + + "AllIamPoliciesResponse\":\332A\013scope,query\202\323" + + "\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPolici" + + "es\022\254\001\n\020AnalyzeIamPolicy\022..google.cloud.a" + + "sset.v1.AnalyzeIamPolicyRequest\032/.google" + + ".cloud.asset.v1.AnalyzeIamPolicyResponse" + + "\"7\202\323\344\223\0021\022//v1/{analysis_query.scope=*/*}" + + ":analyzeIamPolicy\022\270\002\n\033AnalyzeIamPolicyLo" + + "ngrunning\0229.google.cloud.asset.v1.Analyz" + + "eIamPolicyLongrunningRequest\032\035.google.lo" + + "ngrunning.Operation\"\276\001\312Av\n9google.cloud." + + "asset.v1.AnalyzeIamPolicyLongrunningResp" + + "onse\0229google.cloud.asset.v1.AnalyzeIamPo" + + "licyLongrunningMetadata\202\323\344\223\002?\":/v1/{anal" + + "ysis_query.scope=*/*}:analyzeIamPolicyLo" + + "ngrunning:\001*\022\214\001\n\013AnalyzeMove\022).google.cl" + + "oud.asset.v1.AnalyzeMoveRequest\032*.google" + + ".cloud.asset.v1.AnalyzeMoveResponse\"&\202\323\344" + + "\223\002 \022\036/v1/{resource=*/*}:analyzeMove\022\215\001\n\013" + + "QueryAssets\022).google.cloud.asset.v1.Quer" + + "yAssetsRequest\032*.google.cloud.asset.v1.Q" + + "ueryAssetsResponse\"\'\202\323\344\223\002!\"\034/v1/{parent=" + + "*/*}:queryAssets:\001*\022\275\001\n\020CreateSavedQuery" + + "\022..google.cloud.asset.v1.CreateSavedQuer" + + "yRequest\032!.google.cloud.asset.v1.SavedQu" + + "ery\"V\332A!parent,saved_query,saved_query_i" + + "d\202\323\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013" + + "saved_query\022\215\001\n\rGetSavedQuery\022+.google.c" + + "loud.asset.v1.GetSavedQueryRequest\032!.goo" + + "gle.cloud.asset.v1.SavedQuery\",\332A\004name\202\323" + + "\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\022\243\001\n\020" + + "ListSavedQueries\022..google.cloud.asset.v1" + + ".ListSavedQueriesRequest\032/.google.cloud." + + "asset.v1.ListSavedQueriesResponse\".\332A\006pa" + + "rent\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuerie" + + "s\022\277\001\n\020UpdateSavedQuery\022..google.cloud.as" + + "set.v1.UpdateSavedQueryRequest\032!.google." + + "cloud.asset.v1.SavedQuery\"X\332A\027saved_quer" + + "y,update_mask\202\323\344\223\00282)/v1/{saved_query.na" + + "me=*/*/savedQueries/*}:\013saved_query\022\210\001\n\020" + + "DeleteSavedQuery\022..google.cloud.asset.v1" + + ".DeleteSavedQueryRequest\032\026.google.protob" + + "uf.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1/{name=*/*/s" + + "avedQueries/*}\022\316\001\n\034BatchGetEffectiveIamP" + + "olicies\022:.google.cloud.asset.v1.BatchGet" + + "EffectiveIamPoliciesRequest\032;.google.clo" + + "ud.asset.v1.BatchGetEffectiveIamPolicies" + + "Response\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effect" + + "iveIamPolicies:batchGet\022\277\001\n\022AnalyzeOrgPo" + + "licies\0220.google.cloud.asset.v1.AnalyzeOr" + + "gPoliciesRequest\0321.google.cloud.asset.v1" + + ".AnalyzeOrgPoliciesResponse\"D\332A\027scope,co" + + "nstraint,filter\202\323\344\223\002$\022\"/v1/{scope=*/*}:a" + + "nalyzeOrgPolicies\022\377\001\n\"AnalyzeOrgPolicyGo" + + "vernedContainers\022@.google.cloud.asset.v1" + + ".AnalyzeOrgPolicyGovernedContainersReque" + + "st\032A.google.cloud.asset.v1.AnalyzeOrgPol" + + "icyGovernedContainersResponse\"T\332A\027scope," + + "constraint,filter\202\323\344\223\0024\0222/v1/{scope=*/*}" + + ":analyzeOrgPolicyGovernedContainers\022\357\001\n\036" + + "AnalyzeOrgPolicyGovernedAssets\022<.google." + + "cloud.asset.v1.AnalyzeOrgPolicyGovernedA" + + "ssetsRequest\032=.google.cloud.asset.v1.Ana" + + "lyzeOrgPolicyGovernedAssetsResponse\"P\332A\027" + + "scope,constraint,filter\202\323\344\223\0020\022./v1/{scop" + + "e=*/*}:analyzeOrgPolicyGovernedAssets\032M\312" + + "A\031cloudasset.googleapis.com\322A.https://ww" + + "w.googleapis.com/auth/cloud-platformB\221\001\n" + + "\031com.google.cloud.asset.v1B\021AssetService" + + "ProtoP\001Z/cloud.google.com/go/asset/apiv1" + + "/assetpb;assetpb\252\002\025Google.Cloud.Asset.V1" + + "\312\002\025Google\\Cloud\\Asset\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1.AssetProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.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 1588f28c90c0..bfed4bf81f61 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +45,32 @@ private AttachedResource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttachedResource();
   }
 
-  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.
    *
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset_type = 1; + * * @return The assetType. */ @java.lang.Override @@ -68,14 +91,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.
    *
@@ -87,16 +111,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 { @@ -105,9 +128,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
@@ -121,6 +147,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
@@ -130,11 +158,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
@@ -148,6 +178,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
@@ -161,6 +193,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
@@ -176,6 +210,7 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,8 +222,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -208,8 +242,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;
@@ -219,17 +253,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;
   }
@@ -252,99 +285,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.
@@ -352,33 +390,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();
@@ -395,9 +432,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
@@ -416,9 +453,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;
     }
@@ -446,38 +486,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;
@@ -509,9 +550,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_);
           }
@@ -543,30 +585,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) {
@@ -576,10 +620,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object assetType_ = "";
     /**
+     *
+     *
      * 
      * The type of this attached resource.
      *
@@ -591,13 +638,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; @@ -606,6 +653,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      *
@@ -617,15 +666,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 { @@ -633,6 +681,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      *
@@ -644,18 +694,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.
      *
@@ -667,6 +721,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 1; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -676,6 +731,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of this attached resource.
      *
@@ -687,12 +744,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; @@ -701,18 +760,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
@@ -729,6 +796,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
@@ -745,6 +814,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -761,6 +832,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
@@ -784,6 +857,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
@@ -804,6 +879,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
@@ -826,6 +903,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
@@ -849,6 +928,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
@@ -869,6 +950,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
@@ -889,6 +972,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -901,8 +986,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);
@@ -910,6 +994,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
@@ -929,6 +1015,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
@@ -948,6 +1036,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
@@ -961,6 +1051,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
@@ -972,11 +1064,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
@@ -985,8 +1080,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 {
@@ -994,6 +1089,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
@@ -1003,10 +1100,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
@@ -1017,10 +1116,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
@@ -1029,16 +1130,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(),
@@ -1047,9 +1154,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);
     }
 
@@ -1059,12 +1166,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();
   }
@@ -1073,27 +1180,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;
@@ -1108,6 +1215,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AttachedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/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 4af481d4174c..ee1cd98a6b10 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.
    *
@@ -19,10 +37,13 @@ public interface AttachedResourceOrBuilder extends
    * 
* * string asset_type = 1; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of this attached resource.
    *
@@ -34,12 +55,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
@@ -48,9 +71,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
@@ -61,6 +85,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
@@ -71,6 +97,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
@@ -79,9 +107,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
@@ -90,6 +120,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 8f8fb17a50f1..1ddde6f3755e 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,64 +1,87 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.emptyList(); + assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetAssetsHistoryRequest(); } - 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 @@ -67,31 +90,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 { @@ -100,10 +125,13 @@ public java.lang.String getParent() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -116,13 +144,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
@@ -135,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
@@ -153,6 +186,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. */ @@ -160,6 +194,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
@@ -172,43 +208,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
@@ -218,7 +269,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 @@ -226,6 +280,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
@@ -235,14 +291,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
@@ -252,18 +315,25 @@ 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.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -284,13 +354,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
@@ -311,12 +383,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
@@ -337,6 +412,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. */ @@ -344,6 +420,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
@@ -364,15 +442,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; @@ -384,15 +463,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) { @@ -421,13 +500,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; @@ -445,25 +523,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; } @@ -497,153 +572,156 @@ 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(); bitField0_ = 0; parent_ = ""; - assetNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; readTimeWindow_ = null; if (readTimeWindowBuilder_ != null) { readTimeWindowBuilder_.dispose(); readTimeWindowBuilder_ = null; } - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -662,8 +740,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result = + new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -681,9 +762,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(); } if (((from_bitField0_ & 0x00000010) != 0)) { relationshipTypes_.makeImmutable(); @@ -695,38 +775,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; @@ -734,7 +815,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; @@ -792,41 +874,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) { @@ -836,24 +922,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; @@ -862,22 +953,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 { @@ -885,32 +979,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() { @@ -920,19 +1025,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; @@ -942,6 +1053,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetNamesIsMutable() { if (!assetNames_.isModifiable()) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); @@ -949,6 +1061,8 @@ private void ensureAssetNamesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -961,14 +1075,16 @@ 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() { assetNames_.makeImmutable(); return assetNames_; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -981,12 +1097,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
@@ -999,6 +1118,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. */ @@ -1006,6 +1126,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
@@ -1018,14 +1140,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
@@ -1038,13 +1162,15 @@ 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); bitField0_ |= 0x00000002; @@ -1052,6 +1178,8 @@ public Builder setAssetNames( return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1064,12 +1192,14 @@ 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); bitField0_ |= 0x00000002; @@ -1077,6 +1207,8 @@ public Builder addAssetNames( return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1089,19 +1221,20 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1114,16 +1247,19 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { - assetNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1136,12 +1272,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); @@ -1152,22 +1290,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. */ @@ -1178,24 +1327,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. */ @@ -1209,11 +1369,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() { @@ -1225,8 +1390,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
@@ -1236,13 +1406,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
@@ -1252,17 +1427,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
@@ -1272,7 +1454,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) { @@ -1288,6 +1472,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
@@ -1297,10 +1483,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 { @@ -1311,6 +1498,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
@@ -1320,13 +1509,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; @@ -1339,6 +1530,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
@@ -1348,7 +1541,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); @@ -1361,6 +1556,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
@@ -1370,7 +1567,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; @@ -1378,6 +1577,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
@@ -1387,17 +1588,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
@@ -1407,17 +1613,22 @@ 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_; @@ -1425,6 +1636,7 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( private com.google.protobuf.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRelationshipTypesIsMutable() { if (!relationshipTypes_.isModifiable()) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); @@ -1432,6 +1644,8 @@ private void ensureRelationshipTypesIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1451,15 +1665,18 @@ 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() { relationshipTypes_.makeImmutable(); return relationshipTypes_; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1479,13 +1696,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
@@ -1505,7 +1726,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. */ @@ -1513,6 +1736,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
@@ -1532,15 +1757,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
@@ -1560,14 +1788,17 @@ 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); bitField0_ |= 0x00000010; @@ -1575,6 +1806,8 @@ public Builder setRelationshipTypes( return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1594,13 +1827,16 @@ 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); bitField0_ |= 0x00000010; @@ -1608,6 +1844,8 @@ public Builder addRelationshipTypes( return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1627,20 +1865,22 @@ 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_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1660,17 +1900,21 @@ 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() { - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1690,13 +1934,16 @@ 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); @@ -1704,9 +1951,9 @@ public Builder addRelationshipTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1716,12 +1963,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(); } @@ -1730,27 +1977,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; @@ -1765,6 +2012,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 513b61e8f418..c60c030e62dd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -44,11 +71,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
@@ -61,10 +90,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
@@ -77,11 +109,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
@@ -94,32 +129,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
@@ -129,11 +176,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
@@ -143,11 +195,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
@@ -157,11 +214,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
@@ -182,11 +243,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
@@ -207,10 +270,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
@@ -231,11 +297,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
@@ -256,9 +325,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 57b07fe51cff..9cb495cf9e81 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -65,11 +89,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.
    * 
@@ -81,6 +107,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -99,12 +129,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; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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; @@ -142,15 +170,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; } @@ -172,131 +200,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(); @@ -312,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_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 @@ -333,14 +366,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_); @@ -360,38 +397,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; @@ -399,7 +437,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()) { @@ -418,9 +457,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_); } @@ -452,25 +492,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) { @@ -480,21 +521,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.
      * 
@@ -509,6 +557,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -523,6 +573,8 @@ public int getAssetsCount() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -537,14 +589,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(); @@ -558,6 +611,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -576,6 +631,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -596,14 +653,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(); @@ -617,14 +675,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()); @@ -635,6 +694,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -653,6 +714,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -663,8 +726,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); @@ -672,6 +734,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -689,6 +753,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -706,39 +772,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 { @@ -746,6 +817,8 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -753,49 +826,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); } @@ -805,12 +883,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(); } @@ -819,27 +897,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; @@ -854,6 +932,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..87967ae080fd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 67% 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 e3b6b0991e34..92f75940bf80 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A request message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -11,45 +28,51 @@
  *
  * 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.emptyList();
+    names_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchGetEffectiveIamPoliciesRequest();
   }
 
-  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.
    *
@@ -64,7 +87,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 @@ -73,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. Only IAM policies on or below the scope will be returned.
    *
@@ -95,17 +122,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 { @@ -114,10 +142,13 @@ public java.lang.String getScope() { } public static final int NAMES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList names_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -126,14 +157,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)
@@ -142,13 +177,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)
@@ -157,7 +197,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. */ @@ -165,6 +208,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)
@@ -173,16 +218,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; @@ -194,8 +242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -230,17 +277,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; } @@ -264,98 +310,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].
@@ -363,51 +415,50 @@ 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();
       bitField0_ = 0;
       scope_ = "";
-      names_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      names_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @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();
     }
 
@@ -422,13 +473,17 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result =
+          new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    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 +498,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 +538,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 +582,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 +611,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.
      *
@@ -568,14 +632,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; @@ -584,6 +650,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      *
@@ -598,16 +666,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 { @@ -615,6 +684,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      *
@@ -629,19 +700,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.
      *
@@ -656,7 +733,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() { @@ -666,6 +746,8 @@ public Builder clearScope() { return this; } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      *
@@ -680,13 +762,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; @@ -696,6 +782,7 @@ public Builder setScopeBytes( private com.google.protobuf.LazyStringArrayList names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureNamesIsMutable() { if (!names_.isModifiable()) { names_ = new com.google.protobuf.LazyStringArrayList(names_); @@ -703,6 +790,8 @@ private void ensureNamesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -711,15 +800,19 @@ 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() { names_.makeImmutable(); return names_; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -728,13 +821,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)
@@ -743,7 +841,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. */ @@ -751,6 +852,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)
@@ -759,15 +862,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)
@@ -776,14 +883,18 @@ 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); bitField0_ |= 0x00000002; @@ -791,6 +902,8 @@ public Builder setNames( return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -799,13 +912,17 @@ 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); bitField0_ |= 0x00000002; @@ -813,6 +930,8 @@ public Builder addNames( return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -821,20 +940,23 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -843,17 +965,22 @@ 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() { - names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -862,13 +989,17 @@ 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); @@ -876,9 +1007,9 @@ public Builder addNamesBytes( onChanged(); return this; } + @java.lang.Override - 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 +1019,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(); } @@ -902,27 +1034,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; @@ -937,6 +1069,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 71b5594ce4cf..fe1ccba66c00 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    *
@@ -22,11 +40,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.
    *
@@ -41,13 +64,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)
@@ -56,12 +83,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)
@@ -70,11 +101,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)
@@ -83,12 +119,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)
@@ -97,10 +138,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 d800ff748ba4..7184a57ade34 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -11,44 +28,51 @@
  *
  * 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();
   }
 
-  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)
@@ -60,10 +84,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)
@@ -75,12 +102,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].
@@ -104,11 +133,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].
@@ -132,10 +167,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].
@@ -159,10 +199,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].
@@ -186,11 +230,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].
@@ -214,27 +265,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(); @@ -242,29 +300,35 @@ private EffectiveIamPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EffectiveIamPolicy(); } - 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,49 +394,59 @@ 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(); } - 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]
@@ -369,6 +454,7 @@ protected java.lang.Object newInstance(
        * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -377,14 +463,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]
@@ -392,16 +479,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 { @@ -412,12 +498,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 @@ -425,12 +514,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 @@ -438,6 +530,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].
@@ -451,6 +545,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -462,8 +557,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.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_);
         }
@@ -483,8 +577,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;
@@ -494,19 +587,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;
@@ -530,90 +628,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
@@ -623,39 +748,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(); @@ -670,19 +802,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); } @@ -690,22 +829,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(); } } @@ -713,46 +861,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; @@ -787,24 +949,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) { @@ -814,10 +977,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]
@@ -825,13 +991,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; @@ -840,6 +1006,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -847,15 +1015,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 { @@ -863,6 +1030,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -870,18 +1039,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]
@@ -889,6 +1062,7 @@ public Builder setAttachedResource(
          * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -898,6 +1072,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -905,12 +1081,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; @@ -920,26 +1098,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() { @@ -950,6 +1137,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].
@@ -971,6 +1160,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].
@@ -978,8 +1169,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 {
@@ -990,6 +1180,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].
@@ -999,9 +1191,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;
@@ -1014,6 +1206,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].
@@ -1032,6 +1226,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].
@@ -1045,6 +1241,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].
@@ -1056,11 +1254,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].
@@ -1069,18 +1268,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) {
@@ -1093,41 +1296,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;
@@ -1139,16 +1349,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)
@@ -1160,6 +1374,7 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -1168,14 +1383,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)
@@ -1187,16 +1403,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 { @@ -1205,9 +1420,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].
@@ -1231,13 +1452,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].
@@ -1261,14 +1489,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].
@@ -1292,13 +1527,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].
@@ -1322,13 +1561,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].
@@ -1352,15 +1597,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; @@ -1372,8 +1621,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1393,8 +1641,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; @@ -1404,17 +1651,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; } @@ -1437,90 +1685,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 @@ -1530,39 +1790,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(); @@ -1579,19 +1845,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); } @@ -1599,15 +1869,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_); @@ -1619,7 +1896,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_; @@ -1630,46 +1909,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; @@ -1693,9 +1982,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_); } @@ -1727,30 +2017,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) { @@ -1760,10 +2056,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)
@@ -1775,13 +2074,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; @@ -1790,6 +2089,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1801,15 +2102,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 { @@ -1817,6 +2117,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1828,18 +2130,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)
@@ -1851,6 +2157,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -1860,6 +2167,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1871,12 +2180,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; @@ -1884,19 +2195,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].
@@ -1920,9 +2245,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 { @@ -1930,6 +2260,8 @@ public java.util.List * The effective policies for the * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]. @@ -1953,7 +2285,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) { @@ -1963,6 +2297,8 @@ public int getPoliciesCount() { } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1986,9 +2322,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 { @@ -1996,6 +2336,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].
@@ -2019,10 +2361,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(); @@ -2036,6 +2383,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2059,10 +2408,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()); @@ -2073,6 +2427,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2096,9 +2452,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(); @@ -2112,6 +2473,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].
@@ -2135,10 +2498,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(); @@ -2152,6 +2520,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2175,10 +2545,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()); @@ -2189,6 +2563,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2212,10 +2588,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()); @@ -2226,6 +2607,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2249,14 +2632,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); @@ -2264,6 +2652,8 @@ public Builder addAllPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2287,7 +2677,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) { @@ -2300,6 +2692,8 @@ public Builder clearPolicies() { return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2323,7 +2717,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) { @@ -2336,6 +2732,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].
@@ -2359,13 +2757,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].
@@ -2389,16 +2792,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].
@@ -2422,10 +2831,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 { @@ -2433,6 +2847,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].
@@ -2456,13 +2872,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].
@@ -2486,14 +2910,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].
@@ -2517,26 +2949,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) { @@ -2549,41 +2995,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; @@ -2595,16 +3046,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
@@ -2614,13 +3070,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
@@ -2630,14 +3092,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
@@ -2647,13 +3116,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
@@ -2663,13 +3136,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
@@ -2679,15 +3157,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; @@ -2699,8 +3180,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2714,8 +3194,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; @@ -2725,15 +3204,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; } @@ -2755,98 +3234,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].
@@ -2854,33 +3339,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();
@@ -2896,13 +3380,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();
     }
 
@@ -2917,14 +3402,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_);
@@ -2936,7 +3425,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_;
     }
 
@@ -2944,38 +3434,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;
@@ -2983,7 +3474,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()) {
@@ -3002,9 +3495,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_);
           }
@@ -3036,25 +3530,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) {
@@ -3064,21 +3562,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
@@ -3088,9 +3599,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 { @@ -3098,6 +3613,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 @@ -3107,7 +3624,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) { @@ -3117,6 +3636,8 @@ public int getPolicyResultsCount() { } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3126,9 +3647,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 { @@ -3136,6 +3660,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
@@ -3145,10 +3671,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(); @@ -3162,6 +3691,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
@@ -3171,10 +3702,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()); @@ -3185,6 +3720,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
@@ -3194,9 +3731,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(); @@ -3210,6 +3750,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
@@ -3219,10 +3761,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(); @@ -3236,6 +3781,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
@@ -3245,10 +3792,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()); @@ -3259,6 +3809,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
@@ -3268,10 +3820,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()); @@ -3282,6 +3838,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
@@ -3291,14 +3849,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); @@ -3306,6 +3869,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
@@ -3315,7 +3880,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) { @@ -3328,6 +3895,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
@@ -3337,7 +3906,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) { @@ -3350,6 +3921,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
@@ -3359,13 +3932,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
@@ -3375,16 +3952,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
@@ -3394,10 +3977,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 { @@ -3405,6 +3993,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
@@ -3414,13 +4004,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
@@ -3430,14 +4027,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
@@ -3447,18 +4051,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(), @@ -3467,9 +4085,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); } @@ -3479,41 +4097,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; @@ -3525,9 +4145,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/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..4773390d8a2d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 82% 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 ec93bd057b31..4e40a4c70897 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } - 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
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -68,14 +91,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
@@ -88,16 +112,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 { @@ -106,9 +129,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
@@ -116,6 +142,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -124,14 +151,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
@@ -139,16 +167,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 { @@ -159,6 +186,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
@@ -167,6 +196,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -177,6 +207,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.
@@ -198,6 +230,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -205,6 +238,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -226,13 +261,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.
@@ -257,12 +297,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
@@ -294,6 +338,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -302,6 +347,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,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(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -346,16 +391,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; @@ -365,26 +407,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; } @@ -401,146 +439,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(); @@ -558,9 +598,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 @@ -579,8 +619,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; } @@ -597,9 +640,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_; @@ -610,38 +652,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; @@ -695,39 +738,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) { @@ -737,10 +784,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
@@ -753,13 +803,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; @@ -768,6 +818,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -780,15 +832,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 { @@ -796,6 +847,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -808,18 +861,22 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dataset to set. * @return This builder for chaining. */ - public Builder setDataset( - java.lang.String value) { - 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
@@ -832,6 +889,7 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -841,6 +899,8 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -853,12 +913,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; @@ -868,6 +930,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
@@ -875,13 +939,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; @@ -890,6 +954,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
@@ -897,15 +963,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 { @@ -913,6 +978,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -920,18 +987,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
@@ -939,6 +1010,7 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -948,6 +1020,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
@@ -955,12 +1029,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; @@ -968,8 +1044,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
@@ -978,6 +1056,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -985,6 +1064,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
@@ -993,6 +1074,7 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1004,6 +1086,8 @@ public Builder setForce(boolean value) { 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
@@ -1012,6 +1096,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1023,8 +1108,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.
@@ -1046,12 +1136,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.
@@ -1073,16 +1166,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.
@@ -1119,6 +1217,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.
@@ -1153,6 +1253,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1177,9 +1279,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;
@@ -1192,6 +1294,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.
@@ -1225,6 +1329,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1253,6 +1359,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.
@@ -1279,11 +1387,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.
@@ -1307,21 +1418,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
@@ -1353,6 +1469,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1360,6 +1477,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
@@ -1391,6 +1510,7 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ @@ -1402,6 +1522,8 @@ public Builder setSeparateTablesPerAssetType(boolean value) { 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
@@ -1433,6 +1555,7 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1441,9 +1564,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); } @@ -1453,12 +1576,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(); } @@ -1467,27 +1590,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; @@ -1502,6 +1625,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 89d45fbbc51e..5d12dc499b35 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -100,10 +131,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.
@@ -125,10 +159,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.
@@ -154,6 +191,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
@@ -185,6 +224,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 467e5963426c..abb8d6980909 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,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
      * 
@@ -61,6 +83,8 @@ public enum EvaluationValue */ EVALUATION_VALUE_UNSPECIFIED(0), /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -69,6 +93,8 @@ public enum EvaluationValue */ TRUE(1), /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -77,6 +103,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
@@ -90,6 +118,8 @@ public enum EvaluationValue
     ;
 
     /**
+     *
+     *
      * 
      * Reserved for future use.
      * 
@@ -98,6 +128,8 @@ public enum EvaluationValue */ public static final int EVALUATION_VALUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -106,6 +138,8 @@ public enum EvaluationValue */ public static final int TRUE_VALUE = 1; /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -114,6 +148,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
@@ -124,7 +160,6 @@ public enum EvaluationValue
      */
     public static final int CONDITIONAL_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -149,40 +184,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);
     }
 
@@ -191,8 +230,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;
@@ -212,30 +250,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; @@ -247,9 +297,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); @@ -261,9 +313,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; @@ -273,12 +327,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; @@ -299,132 +354,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(); @@ -434,9 +493,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 @@ -455,8 +514,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; } @@ -472,38 +534,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; @@ -541,17 +604,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) { @@ -561,26 +626,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. */ @@ -591,28 +664,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(); } @@ -622,11 +705,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() { @@ -635,9 +721,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); } @@ -647,12 +733,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(); } @@ -661,27 +747,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; @@ -696,6 +782,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..3855b0759c07 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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..fafaec0ca842 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 2565961da604..df01a958f973 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFeedRequest(); } - 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
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -65,14 +88,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
@@ -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,15 +123,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 @@ -117,30 +144,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 { @@ -151,6 +178,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
@@ -159,6 +188,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 @@ -166,6 +196,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
@@ -174,6 +206,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -181,6 +214,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
@@ -196,6 +231,7 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -207,8 +243,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -234,8 +269,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;
@@ -245,21 +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.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;
@@ -285,132 +317,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(); @@ -426,9 +462,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 @@ -447,8 +483,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; } @@ -462,9 +501,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(); } } @@ -472,38 +509,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; @@ -551,29 +589,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) { @@ -583,10 +623,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
@@ -596,13 +639,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; @@ -611,6 +654,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
@@ -620,15 +665,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 { @@ -636,6 +680,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
@@ -645,18 +691,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
@@ -666,6 +716,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -675,6 +726,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
@@ -684,12 +737,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; @@ -699,19 +754,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; @@ -720,21 +777,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 { @@ -742,30 +800,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() { @@ -775,18 +840,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; @@ -796,8 +865,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
@@ -806,12 +880,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
@@ -820,6 +897,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() { @@ -830,6 +908,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
@@ -853,6 +933,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
@@ -862,8 +944,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 {
@@ -874,6 +955,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
@@ -885,9 +968,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;
@@ -900,6 +983,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
@@ -920,6 +1005,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
@@ -935,6 +1022,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
@@ -948,11 +1037,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
@@ -963,21 +1053,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);
     }
 
@@ -987,12 +1080,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();
   }
@@ -1001,27 +1094,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;
@@ -1036,6 +1129,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..4ddf443b3eea 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 68%
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 b8fbbd2054c6..1b0caa4ab3f0 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,28 +44,32 @@ private CreateSavedQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSavedQueryRequest(); } - 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
@@ -56,7 +78,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 @@ -65,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 name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -81,17 +107,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 { @@ -102,12 +129,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 @@ -115,35 +147,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
@@ -157,6 +205,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 @@ -165,14 +214,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
@@ -186,16 +236,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 { @@ -204,6 +253,7 @@ public java.lang.String getSavedQueryId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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 +288,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_); @@ -253,22 +301,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; } @@ -294,131 +340,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(); @@ -434,9 +484,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 @@ -455,8 +505,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; } @@ -467,9 +520,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_; @@ -480,38 +531,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; @@ -519,7 +571,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; @@ -559,29 +612,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) { @@ -591,10 +646,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
@@ -603,14 +661,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; @@ -619,6 +679,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
@@ -627,16 +689,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 { @@ -644,6 +707,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
@@ -652,19 +717,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
@@ -673,7 +744,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() { @@ -683,6 +757,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
@@ -691,13 +767,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; @@ -707,42 +787,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) { @@ -758,15 +857,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 { @@ -777,18 +879,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; @@ -801,12 +907,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); @@ -819,12 +929,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; @@ -832,38 +946,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_; @@ -871,6 +997,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
@@ -884,13 +1012,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; @@ -899,6 +1027,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
@@ -912,15 +1042,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 { @@ -928,6 +1057,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
@@ -941,18 +1072,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
@@ -966,6 +1101,7 @@ public Builder setSavedQueryId(
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSavedQueryId() { @@ -975,6 +1111,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
@@ -988,21 +1126,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); } @@ -1012,12 +1152,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(); } @@ -1026,27 +1166,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; @@ -1061,6 +1201,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 f4683a71cfdc..7b3ec4d15cac 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -79,10 +120,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
@@ -96,8 +140,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 bd89fb03f355..1e2dd5cfb226 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,48 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -50,7 +68,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 @@ -59,14 +80,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
@@ -74,17 +96,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 { @@ -93,6 +116,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +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.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; } @@ -156,128 +179,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(); @@ -287,9 +310,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 @@ -308,8 +331,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; } @@ -325,38 +351,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; @@ -396,17 +423,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) { @@ -416,10 +445,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
@@ -427,14 +459,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; @@ -443,6 +477,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
@@ -450,16 +486,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 { @@ -467,6 +504,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
@@ -474,19 +513,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
@@ -494,7 +539,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() { @@ -504,6 +552,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
@@ -511,22 +561,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); } @@ -536,12 +590,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(); } @@ -550,27 +604,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; @@ -585,6 +639,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..13931f516204 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 7e084803aab1..cc982bcd8008 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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:
@@ -56,7 +78,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 @@ -65,14 +90,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:
@@ -82,17 +108,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 { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -137,15 +164,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; } @@ -165,131 +192,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(); @@ -299,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_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 @@ -320,8 +351,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; } @@ -337,38 +371,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; @@ -376,7 +411,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; @@ -408,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) { @@ -428,10 +466,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 +482,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 +500,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -466,16 +511,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 { @@ -483,6 +529,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -492,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:
@@ -514,7 +568,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() { @@ -524,6 +581,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -533,22 +592,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); } @@ -558,12 +621,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(); } @@ -572,27 +635,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; @@ -607,6 +670,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 d34fc9a491f6..ac0a4190a299 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -17,11 +35,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:
@@ -31,9 +54,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/EffectiveTagDetails.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetails.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/EffectiveTagDetails.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetails.java index a7eb64f1312b..74e31bec4bd6 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetails.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetails.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * The effective tags and the ancestor resources from which they were inherited.
  * 
* * Protobuf type {@code google.cloud.asset.v1.EffectiveTagDetails} */ -public final class EffectiveTagDetails extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EffectiveTagDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.EffectiveTagDetails) EffectiveTagDetailsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EffectiveTagDetails.newBuilder() to construct. private EffectiveTagDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EffectiveTagDetails() { attachedResource_ = ""; effectiveTags_ = java.util.Collections.emptyList(); @@ -26,29 +44,33 @@ private EffectiveTagDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EffectiveTagDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.EffectiveTagDetails.class, com.google.cloud.asset.v1.EffectiveTagDetails.Builder.class); + com.google.cloud.asset.v1.EffectiveTagDetails.class, + com.google.cloud.asset.v1.EffectiveTagDetails.Builder.class); } private int bitField0_; 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)
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * optional string attached_resource = 1; + * * @return Whether the attachedResource field is set. */ @java.lang.Override @@ -65,6 +88,8 @@ public boolean hasAttachedResource() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -74,6 +99,7 @@ public boolean hasAttachedResource() {
    * 
* * optional string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -82,14 +108,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)
@@ -99,16 +126,15 @@ public java.lang.String getAttachedResource() {
    * 
* * optional 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 { @@ -117,9 +143,12 @@ public java.lang.String getAttachedResource() { } public static final int EFFECTIVE_TAGS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List effectiveTags_; /** + * + * *
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -138,6 +167,8 @@ public java.util.List getEffectiveTagsList() {
     return effectiveTags_;
   }
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -152,11 +183,13 @@ public java.util.List getEffectiveTagsList() {
    * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getEffectiveTagsOrBuilderList() {
     return effectiveTags_;
   }
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -175,6 +208,8 @@ public int getEffectiveTagsCount() {
     return effectiveTags_.size();
   }
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -193,6 +228,8 @@ public com.google.cloud.asset.v1.Tag getEffectiveTags(int index) {
     return effectiveTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -207,12 +244,12 @@ public com.google.cloud.asset.v1.Tag getEffectiveTags(int index) {
    * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(int index) {
     return effectiveTags_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -224,8 +261,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResource_);
     }
@@ -245,8 +281,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResource_);
     }
     for (int i = 0; i < effectiveTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, effectiveTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, effectiveTags_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -256,20 +291,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.EffectiveTagDetails)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.EffectiveTagDetails other = (com.google.cloud.asset.v1.EffectiveTagDetails) obj;
+    com.google.cloud.asset.v1.EffectiveTagDetails other =
+        (com.google.cloud.asset.v1.EffectiveTagDetails) obj;
 
     if (hasAttachedResource() != other.hasAttachedResource()) return false;
     if (hasAttachedResource()) {
-      if (!getAttachedResource()
-          .equals(other.getAttachedResource())) return false;
+      if (!getAttachedResource().equals(other.getAttachedResource())) return false;
     }
-    if (!getEffectiveTagsList()
-        .equals(other.getEffectiveTagsList())) return false;
+    if (!getEffectiveTagsList().equals(other.getEffectiveTagsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -294,132 +328,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(java.io.InputStream input)
       throws 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.EffectiveTagDetails parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.asset.v1.EffectiveTagDetails parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.EffectiveTagDetails parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.EffectiveTagDetails parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.EffectiveTagDetails prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 effective tags and the ancestor resources from which they were inherited.
    * 
* * Protobuf type {@code google.cloud.asset.v1.EffectiveTagDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.EffectiveTagDetails) com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.EffectiveTagDetails.class, com.google.cloud.asset.v1.EffectiveTagDetails.Builder.class); + com.google.cloud.asset.v1.EffectiveTagDetails.class, + com.google.cloud.asset.v1.EffectiveTagDetails.Builder.class); } // Construct using com.google.cloud.asset.v1.EffectiveTagDetails.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(); @@ -436,9 +474,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_EffectiveTagDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; } @java.lang.Override @@ -457,9 +495,12 @@ public com.google.cloud.asset.v1.EffectiveTagDetails build() { @java.lang.Override public com.google.cloud.asset.v1.EffectiveTagDetails buildPartial() { - com.google.cloud.asset.v1.EffectiveTagDetails result = new com.google.cloud.asset.v1.EffectiveTagDetails(this); + com.google.cloud.asset.v1.EffectiveTagDetails result = + new com.google.cloud.asset.v1.EffectiveTagDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -490,38 +531,39 @@ private void buildPartial0(com.google.cloud.asset.v1.EffectiveTagDetails 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.EffectiveTagDetails) { - return mergeFrom((com.google.cloud.asset.v1.EffectiveTagDetails)other); + return mergeFrom((com.google.cloud.asset.v1.EffectiveTagDetails) other); } else { super.mergeFrom(other); return this; @@ -553,9 +595,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.EffectiveTagDetails other) { effectiveTagsBuilder_ = null; effectiveTags_ = other.effectiveTags_; bitField0_ = (bitField0_ & ~0x00000002); - effectiveTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEffectiveTagsFieldBuilder() : null; + effectiveTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEffectiveTagsFieldBuilder() + : null; } else { effectiveTagsBuilder_.addAllMessages(other.effectiveTags_); } @@ -587,30 +630,31 @@ 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.Tag m = - input.readMessage( - com.google.cloud.asset.v1.Tag.parser(), - extensionRegistry); - if (effectiveTagsBuilder_ == null) { - ensureEffectiveTagsIsMutable(); - effectiveTags_.add(m); - } else { - effectiveTagsBuilder_.addMessage(m); - } - 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: + { + com.google.cloud.asset.v1.Tag m = + input.readMessage(com.google.cloud.asset.v1.Tag.parser(), extensionRegistry); + if (effectiveTagsBuilder_ == null) { + ensureEffectiveTagsIsMutable(); + effectiveTags_.add(m); + } else { + effectiveTagsBuilder_.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) { @@ -620,10 +664,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)
@@ -633,12 +680,15 @@ public Builder mergeFrom(
      * 
* * optional string attached_resource = 1; + * * @return Whether the attachedResource field is set. */ public boolean hasAttachedResource() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -648,13 +698,13 @@ public boolean hasAttachedResource() {
      * 
* * optional 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; @@ -663,6 +713,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -672,15 +724,14 @@ public java.lang.String getAttachedResource() {
      * 
* * optional 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 { @@ -688,6 +739,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -697,18 +750,22 @@ public java.lang.String getAttachedResource() {
      * 
* * optional 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)
@@ -718,6 +775,7 @@ public Builder setAttachedResource(
      * 
* * optional string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { @@ -727,6 +785,8 @@ public Builder clearAttachedResource() { return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -736,12 +796,14 @@ public Builder clearAttachedResource() {
      * 
* * optional 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; @@ -750,18 +812,24 @@ public Builder setAttachedResourceBytes( } private java.util.List effectiveTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEffectiveTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { effectiveTags_ = new java.util.ArrayList(effectiveTags_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder> effectiveTagsBuilder_; + com.google.cloud.asset.v1.Tag, + com.google.cloud.asset.v1.Tag.Builder, + com.google.cloud.asset.v1.TagOrBuilder> + effectiveTagsBuilder_; /** + * + * *
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -783,6 +851,8 @@ public java.util.List getEffectiveTagsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -804,6 +874,8 @@ public int getEffectiveTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -825,6 +897,8 @@ public com.google.cloud.asset.v1.Tag getEffectiveTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -838,8 +912,7 @@ public com.google.cloud.asset.v1.Tag getEffectiveTags(int index) {
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public Builder setEffectiveTags(
-        int index, com.google.cloud.asset.v1.Tag value) {
+    public Builder setEffectiveTags(int index, com.google.cloud.asset.v1.Tag value) {
       if (effectiveTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -853,6 +926,8 @@ public Builder setEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -878,6 +953,8 @@ public Builder setEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -905,6 +982,8 @@ public Builder addEffectiveTags(com.google.cloud.asset.v1.Tag value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -918,8 +997,7 @@ public Builder addEffectiveTags(com.google.cloud.asset.v1.Tag value) {
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public Builder addEffectiveTags(
-        int index, com.google.cloud.asset.v1.Tag value) {
+    public Builder addEffectiveTags(int index, com.google.cloud.asset.v1.Tag value) {
       if (effectiveTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -933,6 +1011,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -946,8 +1026,7 @@ public Builder addEffectiveTags(
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public Builder addEffectiveTags(
-        com.google.cloud.asset.v1.Tag.Builder builderForValue) {
+    public Builder addEffectiveTags(com.google.cloud.asset.v1.Tag.Builder builderForValue) {
       if (effectiveTagsBuilder_ == null) {
         ensureEffectiveTagsIsMutable();
         effectiveTags_.add(builderForValue.build());
@@ -958,6 +1037,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -983,6 +1064,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1000,8 +1083,7 @@ public Builder addAllEffectiveTags(
         java.lang.Iterable values) {
       if (effectiveTagsBuilder_ == null) {
         ensureEffectiveTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, effectiveTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveTags_);
         onChanged();
       } else {
         effectiveTagsBuilder_.addAllMessages(values);
@@ -1009,6 +1091,8 @@ public Builder addAllEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1033,6 +1117,8 @@ public Builder clearEffectiveTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1057,6 +1143,8 @@ public Builder removeEffectiveTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1070,11 +1158,12 @@ public Builder removeEffectiveTags(int index) {
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public com.google.cloud.asset.v1.Tag.Builder getEffectiveTagsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.Tag.Builder getEffectiveTagsBuilder(int index) {
       return getEffectiveTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1088,14 +1177,16 @@ public com.google.cloud.asset.v1.Tag.Builder getEffectiveTagsBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(int index) {
       if (effectiveTagsBuilder_ == null) {
-        return effectiveTags_.get(index);  } else {
+        return effectiveTags_.get(index);
+      } else {
         return effectiveTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1109,8 +1200,8 @@ public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public java.util.List 
-         getEffectiveTagsOrBuilderList() {
+    public java.util.List
+        getEffectiveTagsOrBuilderList() {
       if (effectiveTagsBuilder_ != null) {
         return effectiveTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1118,6 +1209,8 @@ public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1132,10 +1225,12 @@ public com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
     public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder() {
-      return getEffectiveTagsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.Tag.getDefaultInstance());
+      return getEffectiveTagsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1149,12 +1244,13 @@ public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder() {
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder(
-        int index) {
-      return getEffectiveTagsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.Tag.getDefaultInstance());
+    public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder(int index) {
+      return getEffectiveTagsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The effective tags inherited from the
      * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -1168,16 +1264,21 @@ public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
      */
-    public java.util.List 
-         getEffectiveTagsBuilderList() {
+    public java.util.List getEffectiveTagsBuilderList() {
       return getEffectiveTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder> 
+            com.google.cloud.asset.v1.Tag,
+            com.google.cloud.asset.v1.Tag.Builder,
+            com.google.cloud.asset.v1.TagOrBuilder>
         getEffectiveTagsFieldBuilder() {
       if (effectiveTagsBuilder_ == null) {
-        effectiveTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder>(
+        effectiveTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.Tag,
+                com.google.cloud.asset.v1.Tag.Builder,
+                com.google.cloud.asset.v1.TagOrBuilder>(
                 effectiveTags_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1186,9 +1287,9 @@ public com.google.cloud.asset.v1.Tag.Builder addEffectiveTagsBuilder(
       }
       return effectiveTagsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1198,12 +1299,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.EffectiveTagDetails)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.EffectiveTagDetails)
   private static final com.google.cloud.asset.v1.EffectiveTagDetails DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.EffectiveTagDetails();
   }
@@ -1212,27 +1313,27 @@ public static com.google.cloud.asset.v1.EffectiveTagDetails getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public EffectiveTagDetails parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public EffectiveTagDetails parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1348,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.EffectiveTagDetails 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/EffectiveTagDetailsOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java
similarity index 85%
rename from owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java
rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java
index f3c059be63fc..197c4156d439 100644
--- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java
+++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/EffectiveTagDetailsOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface EffectiveTagDetailsOrBuilder extends
+public interface EffectiveTagDetailsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.EffectiveTagDetails)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -17,10 +35,13 @@ public interface EffectiveTagDetailsOrBuilder extends
    * 
* * optional string attached_resource = 1; + * * @return Whether the attachedResource field is set. */ boolean hasAttachedResource(); /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -30,10 +51,13 @@ public interface EffectiveTagDetailsOrBuilder extends
    * 
* * optional 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)
@@ -43,12 +67,14 @@ public interface EffectiveTagDetailsOrBuilder extends
    * 
* * optional string attached_resource = 1; + * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString - getAttachedResourceBytes(); + com.google.protobuf.ByteString getAttachedResourceBytes(); /** + * + * *
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -62,9 +88,10 @@ public interface EffectiveTagDetailsOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    */
-  java.util.List 
-      getEffectiveTagsList();
+  java.util.List getEffectiveTagsList();
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -80,6 +107,8 @@ public interface EffectiveTagDetailsOrBuilder extends
    */
   com.google.cloud.asset.v1.Tag getEffectiveTags(int index);
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -95,6 +124,8 @@ public interface EffectiveTagDetailsOrBuilder extends
    */
   int getEffectiveTagsCount();
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -108,9 +139,10 @@ public interface EffectiveTagDetailsOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    */
-  java.util.List 
-      getEffectiveTagsOrBuilderList();
+  java.util.List getEffectiveTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * The effective tags inherited from the
    * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
@@ -124,6 +156,5 @@ public interface EffectiveTagDetailsOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.Tag effective_tags = 2;
    */
-  com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.TagOrBuilder getEffectiveTagsOrBuilder(int index);
 }
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 78%
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 157d474d47ce..62e9ae6b884c 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,57 +1,77 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } - 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
@@ -59,7 +79,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 @@ -68,14 +91,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
@@ -83,17 +107,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 { @@ -104,6 +129,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).
@@ -113,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -120,6 +148,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).
@@ -129,6 +159,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -136,6 +167,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).
@@ -152,10 +185,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList assetTypes_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -178,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".
@@ -207,12 +245,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".
@@ -235,6 +276,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. */ @@ -242,6 +284,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".
@@ -264,51 +308,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 @@ -316,36 +374,52 @@ 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.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -365,13 +439,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
@@ -391,12 +467,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
@@ -416,6 +495,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. */ @@ -423,6 +503,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
@@ -442,15 +524,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; @@ -462,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -473,7 +555,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) { @@ -495,8 +578,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; @@ -506,13 +588,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; @@ -530,30 +611,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; } @@ -590,132 +667,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(); @@ -726,23 +807,21 @@ public Builder clear() { readTimeBuilder_.dispose(); readTimeBuilder_ = null; } - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; outputConfig_ = null; if (outputConfigBuilder_ != null) { outputConfigBuilder_.dispose(); outputConfigBuilder_ = null; } - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -761,8 +840,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.ExportAssetsRequest result = + new com.google.cloud.asset.v1.ExportAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -773,9 +855,7 @@ 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_ & 0x00000004) != 0)) { assetTypes_.makeImmutable(); @@ -785,9 +865,8 @@ private void buildPartial0(com.google.cloud.asset.v1.ExportAssetsRequest result) result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = outputConfigBuilder_ == null - ? outputConfig_ - : outputConfigBuilder_.build(); + result.outputConfig_ = + outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { relationshipTypes_.makeImmutable(); @@ -799,38 +878,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; @@ -899,48 +979,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) { @@ -950,10 +1033,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
@@ -961,14 +1047,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; @@ -977,6 +1065,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
@@ -984,16 +1074,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 { @@ -1001,6 +1092,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1008,19 +1101,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
@@ -1028,7 +1127,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() { @@ -1038,6 +1140,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
@@ -1045,13 +1149,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; @@ -1061,8 +1169,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).
@@ -1072,12 +1185,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).
@@ -1087,6 +1203,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1097,6 +1214,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).
@@ -1121,6 +1240,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).
@@ -1131,8 +1252,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 {
@@ -1143,6 +1263,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).
@@ -1155,9 +1277,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;
@@ -1170,6 +1292,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).
@@ -1191,6 +1315,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).
@@ -1207,6 +1333,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).
@@ -1221,11 +1349,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).
@@ -1237,14 +1366,17 @@ 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_;
@@ -1252,6 +1384,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList assetTypes_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAssetTypesIsMutable() {
       if (!assetTypes_.isModifiable()) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
@@ -1259,6 +1392,8 @@ private void ensureAssetTypesIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1281,14 +1416,16 @@ 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() { assetTypes_.makeImmutable(); return assetTypes_; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1311,12 +1448,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".
@@ -1339,6 +1479,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. */ @@ -1346,6 +1487,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".
@@ -1368,14 +1511,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".
@@ -1398,13 +1543,15 @@ 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); bitField0_ |= 0x00000004; @@ -1412,6 +1559,8 @@ public Builder setAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1434,12 +1583,14 @@ 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); bitField0_ |= 0x00000004; @@ -1447,6 +1598,8 @@ public Builder addAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1469,19 +1622,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1504,16 +1658,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1536,12 +1693,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); @@ -1552,24 +1711,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. */ @@ -1580,26 +1746,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. */ @@ -1613,12 +1786,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() { @@ -1630,42 +1806,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) { @@ -1681,15 +1876,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 { @@ -1700,18 +1898,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; @@ -1724,12 +1926,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); @@ -1742,12 +1948,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; @@ -1755,38 +1965,50 @@ 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_; @@ -1794,6 +2016,7 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( private com.google.protobuf.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRelationshipTypesIsMutable() { if (!relationshipTypes_.isModifiable()) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); @@ -1801,6 +2024,8 @@ private void ensureRelationshipTypesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1820,14 +2045,16 @@ 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() { relationshipTypes_.makeImmutable(); return relationshipTypes_; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1847,12 +2074,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
@@ -1872,6 +2102,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. */ @@ -1879,6 +2110,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
@@ -1898,14 +2131,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
@@ -1925,13 +2160,15 @@ 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); bitField0_ |= 0x00000020; @@ -1939,6 +2176,8 @@ public Builder setRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1958,12 +2197,14 @@ 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); bitField0_ |= 0x00000020; @@ -1971,6 +2212,8 @@ public Builder addRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1990,19 +2233,20 @@ 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_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2022,16 +2266,19 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2051,12 +2298,14 @@ 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); @@ -2064,9 +2313,9 @@ public Builder addRelationshipTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2076,12 +2325,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsRequest) private static final com.google.cloud.asset.v1.ExportAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsRequest(); } @@ -2090,27 +2339,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; @@ -2125,6 +2374,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 d4580460338c..46797fbdde99 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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".
@@ -95,11 +130,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".
@@ -122,10 +159,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".
@@ -148,11 +188,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".
@@ -175,64 +218,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
@@ -252,11 +317,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
@@ -276,10 +343,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
@@ -299,11 +369,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
@@ -323,9 +396,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 2685a74a935c..b64c3d5e1dcc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,46 +31,50 @@
  *
  * 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();
   }
 
-  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 @@ -61,11 +82,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -73,6 +97,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -87,11 +113,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 @@ -99,18 +128,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.
    * 
@@ -119,12 +155,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.
@@ -134,6 +174,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 @@ -141,6 +182,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.
@@ -150,13 +193,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.
@@ -169,10 +217,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;
@@ -184,8 +235,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -205,16 +255,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;
@@ -224,27 +271,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;
@@ -274,99 +319,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]
@@ -377,33 +427,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();
@@ -427,9 +476,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
@@ -448,8 +497,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;
     }
@@ -457,19 +509,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();
       }
     }
 
@@ -477,38 +525,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;
@@ -552,33 +601,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) {
@@ -588,28 +635,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() { @@ -620,6 +677,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -640,14 +699,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 { @@ -658,6 +718,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -666,9 +728,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; @@ -681,6 +743,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -698,6 +762,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -710,6 +776,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -720,11 +788,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.
      * 
@@ -732,14 +801,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_; @@ -747,34 +819,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.
      * 
@@ -795,14 +880,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 { @@ -813,6 +899,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -821,9 +909,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; @@ -836,6 +924,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -853,6 +943,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -865,6 +957,8 @@ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -875,11 +969,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.
      * 
@@ -887,14 +984,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_; @@ -902,8 +1002,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.
@@ -913,12 +1018,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.
@@ -928,16 +1036,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.
@@ -962,6 +1075,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.
@@ -972,8 +1087,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 {
@@ -984,6 +1098,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.
@@ -996,9 +1112,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;
@@ -1011,6 +1127,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.
@@ -1032,6 +1150,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.
@@ -1048,6 +1168,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.
@@ -1062,11 +1184,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.
@@ -1078,21 +1203,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);
     }
 
@@ -1102,12 +1230,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();
   }
@@ -1116,27 +1244,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;
@@ -1151,6 +1279,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..16bad55150a0 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 80%
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 306947d9dc6a..e1e1d4ed0a8a 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,50 +31,51 @@
  *
  * 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.emptyList();
-    assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
     contentType_ = 0;
-    relationshipTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Feed();
   }
 
-  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
@@ -69,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -77,14 +96,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 +116,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,10 +133,13 @@ public java.lang.String getName() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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
@@ -129,13 +151,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 +171,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
@@ -164,6 +191,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. */ @@ -171,6 +199,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
@@ -182,19 +212,22 @@ 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.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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,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
@@ -224,12 +259,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
@@ -241,6 +279,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. */ @@ -248,6 +287,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
@@ -259,51 +300,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 @@ -311,34 +366,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
@@ -355,6 +425,7 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
    * 
* * .google.type.Expr condition = 6; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -362,6 +433,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
@@ -378,6 +451,7 @@ public boolean hasCondition() {
    * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ @java.lang.Override @@ -385,6 +459,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
@@ -408,10 +484,13 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
   }
 
   public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList relationshipTypes_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -432,13 +511,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
@@ -459,12 +540,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
@@ -485,6 +569,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. */ @@ -492,6 +577,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
@@ -512,15 +599,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; @@ -532,8 +620,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -543,7 +630,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) { @@ -583,17 +671,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; @@ -611,32 +697,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; } @@ -677,99 +757,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.
@@ -780,42 +864,38 @@ 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();
       bitField0_ = 0;
       name_ = "";
-      assetNames_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      assetTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       contentType_ = 0;
       feedOutputConfig_ = null;
       if (feedOutputConfigBuilder_ != null) {
@@ -827,15 +907,14 @@ public Builder clear() {
         conditionBuilder_.dispose();
         conditionBuilder_ = null;
       }
-      relationshipTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @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
@@ -855,7 +934,9 @@ public com.google.cloud.asset.v1.Feed build() {
     @java.lang.Override
     public com.google.cloud.asset.v1.Feed buildPartial() {
       com.google.cloud.asset.v1.Feed result = new com.google.cloud.asset.v1.Feed(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -877,14 +958,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();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         relationshipTypes_.makeImmutable();
@@ -896,38 +974,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;
@@ -1006,54 +1085,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) {
@@ -1063,10 +1147,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
@@ -1078,13 +1165,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; @@ -1093,6 +1180,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1104,15 +1193,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 { @@ -1120,6 +1208,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1131,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
@@ -1154,6 +1248,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1163,6 +1258,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1174,12 +1271,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; @@ -1189,6 +1288,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetNamesIsMutable() { if (!assetNames_.isModifiable()) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); @@ -1196,6 +1296,8 @@ private void ensureAssetNamesIsMutable() { 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
@@ -1207,14 +1309,16 @@ 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() { assetNames_.makeImmutable(); 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
@@ -1226,12 +1330,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
@@ -1243,6 +1350,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. */ @@ -1250,6 +1358,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
@@ -1261,14 +1371,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
@@ -1280,13 +1392,15 @@ 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); bitField0_ |= 0x00000002; @@ -1294,6 +1408,8 @@ public Builder setAssetNames( 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
@@ -1305,12 +1421,14 @@ 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); bitField0_ |= 0x00000002; @@ -1318,6 +1436,8 @@ public Builder addAssetNames( 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
@@ -1329,19 +1449,20 @@ 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_); bitField0_ |= 0x00000002; 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
@@ -1353,16 +1474,19 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { - assetNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1374,12 +1498,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); @@ -1390,6 +1516,7 @@ public Builder addAssetNamesBytes( private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetTypesIsMutable() { if (!assetTypes_.isModifiable()) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); @@ -1397,6 +1524,8 @@ private void ensureAssetTypesIsMutable() { 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
@@ -1408,14 +1537,16 @@ 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() { assetTypes_.makeImmutable(); 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
@@ -1427,12 +1558,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
@@ -1444,6 +1578,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. */ @@ -1451,6 +1586,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
@@ -1462,14 +1599,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
@@ -1481,13 +1620,15 @@ 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); bitField0_ |= 0x00000004; @@ -1495,6 +1636,8 @@ public Builder setAssetTypes( 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
@@ -1506,12 +1649,14 @@ 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); bitField0_ |= 0x00000004; @@ -1519,6 +1664,8 @@ public Builder addAssetTypes( 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
@@ -1530,19 +1677,20 @@ 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_); bitField0_ |= 0x00000004; 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
@@ -1554,16 +1702,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; 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
@@ -1575,12 +1726,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); @@ -1591,24 +1744,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. */ @@ -1619,26 +1779,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. */ @@ -1652,12 +1819,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() { @@ -1669,42 +1839,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) { @@ -1720,12 +1909,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) { @@ -1739,18 +1932,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; @@ -1763,12 +1961,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); @@ -1781,12 +1983,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; @@ -1794,38 +2000,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_; @@ -1833,8 +2051,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
@@ -1851,12 +2072,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
@@ -1873,6 +2097,7 @@ public boolean hasCondition() {
      * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -1883,6 +2108,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
@@ -1914,6 +2141,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
@@ -1931,8 +2160,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 {
@@ -1943,6 +2171,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
@@ -1962,9 +2192,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;
@@ -1977,6 +2207,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
@@ -2005,6 +2237,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
@@ -2028,6 +2262,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
@@ -2049,11 +2285,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
@@ -2072,14 +2309,13 @@ 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_;
@@ -2087,6 +2323,7 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList relationshipTypes_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureRelationshipTypesIsMutable() {
       if (!relationshipTypes_.isModifiable()) {
         relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_);
@@ -2094,6 +2331,8 @@ private void ensureRelationshipTypesIsMutable() {
       bitField0_ |= 0x00000040;
     }
     /**
+     *
+     *
      * 
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2114,14 +2353,16 @@ 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() { relationshipTypes_.makeImmutable(); return relationshipTypes_; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2142,12 +2383,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
@@ -2168,6 +2412,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. */ @@ -2175,6 +2420,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
@@ -2195,14 +2442,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
@@ -2223,13 +2472,15 @@ 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); bitField0_ |= 0x00000040; @@ -2237,6 +2488,8 @@ public Builder setRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2257,12 +2510,14 @@ 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); bitField0_ |= 0x00000040; @@ -2270,6 +2525,8 @@ public Builder addRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2290,19 +2547,20 @@ 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_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2323,16 +2581,19 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2353,12 +2614,14 @@ 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); @@ -2366,9 +2629,9 @@ public Builder addRelationshipTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2378,12 +2641,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(); } @@ -2392,27 +2655,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; @@ -2427,6 +2690,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 2c9e64b8557e..619c7a76b39f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -19,10 +37,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
@@ -34,12 +55,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
@@ -51,11 +74,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
@@ -82,11 +110,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
@@ -98,13 +129,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
@@ -116,11 +149,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
@@ -132,10 +167,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
@@ -147,11 +185,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
@@ -163,64 +204,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
@@ -237,10 +300,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
@@ -257,10 +323,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
@@ -281,6 +350,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
@@ -301,11 +372,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
@@ -326,10 +399,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
@@ -350,11 +426,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
@@ -375,9 +454,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 281f999eab73..c6a927d419a7 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,29 +88,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 @@ -96,21 +123,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.
    * 
@@ -120,12 +152,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; @@ -137,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +184,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; @@ -163,18 +196,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: @@ -203,132 +236,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(); @@ -342,9 +379,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 @@ -363,8 +400,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; @@ -377,8 +417,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(); } } @@ -387,38 +426,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; @@ -428,13 +468,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(); @@ -462,19 +504,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) { @@ -484,12 +527,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() { @@ -502,13 +545,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 @@ -516,11 +565,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 @@ -538,6 +590,8 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -558,6 +612,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1.PubsubDestination return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -576,6 +632,8 @@ public Builder setPubsubDestination( return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -584,10 +642,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; } @@ -603,6 +664,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestinatio return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -626,6 +689,8 @@ public Builder clearPubsubDestination() { return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -636,6 +701,8 @@ public com.google.cloud.asset.v1.PubsubDestination.Builder getPubsubDestinationB return getPubsubDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -654,6 +721,8 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -661,14 +730,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()); @@ -678,9 +752,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); } @@ -690,12 +764,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(); } @@ -704,27 +778,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; @@ -739,6 +813,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 8d709b9e3b01..cfb61588477d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 61cd0585b710..eea95ebd9212 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,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,25 +89,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 +126,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
@@ -118,6 +148,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -128,8 +159,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; @@ -138,6 +168,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
@@ -151,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; } @@ -174,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:
@@ -187,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:
@@ -206,6 +242,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -216,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; @@ -226,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:
@@ -239,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; } @@ -261,6 +298,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,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_); } @@ -303,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); @@ -313,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: @@ -351,132 +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(); @@ -487,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 @@ -508,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; @@ -528,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; @@ -569,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(); @@ -611,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) { @@ -638,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() { @@ -656,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
@@ -669,6 +720,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -676,6 +728,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
@@ -689,6 +743,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -698,8 +753,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; @@ -710,6 +764,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
@@ -723,19 +779,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; } @@ -745,6 +800,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
@@ -758,18 +815,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { - 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
@@ -783,6 +844,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -794,6 +856,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
@@ -807,12 +871,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; @@ -821,6 +887,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:
@@ -834,6 +902,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -841,6 +910,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:
@@ -854,6 +925,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -863,8 +935,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; @@ -875,6 +946,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:
@@ -888,19 +961,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; } @@ -910,6 +982,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:
@@ -923,18 +997,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:
@@ -948,6 +1026,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -959,6 +1038,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:
@@ -972,21 +1053,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); } @@ -996,12 +1079,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(); } @@ -1010,27 +1093,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; @@ -1045,6 +1128,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 9c06edee43d0..51daf6385685 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -21,10 +39,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
@@ -38,10 +59,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
@@ -55,12 +79,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:
@@ -74,10 +100,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:
@@ -91,10 +120,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:
@@ -108,10 +140,10 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ - com.google.protobuf.ByteString - getUriPrefixBytes(); + com.google.protobuf.ByteString getUriPrefixBytes(); 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 4eca02741aad..e572e2d9de7d 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,85 +1,112 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.emptyList(); + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsOutputResult(); } - 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.LazyStringArrayList uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -87,21 +114,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; @@ -113,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -143,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.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; } @@ -172,145 +201,148 @@ 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(); bitField0_ = 0; - uris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -329,8 +361,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.GcsOutputResult result = + new com.google.cloud.asset.v1.GcsOutputResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -347,38 +382,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; @@ -423,18 +459,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) { @@ -444,10 +482,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUrisIsMutable() { if (!uris_.isModifiable()) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); @@ -455,38 +495,46 @@ private void ensureUrisIsMutable() { 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() { uris_.makeImmutable(); 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. */ @@ -494,33 +542,39 @@ 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); bitField0_ |= 0x00000001; @@ -528,18 +582,22 @@ public Builder setUris( 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); bitField0_ |= 0x00000001; @@ -547,53 +605,61 @@ public Builder addUris( 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_); bitField0_ |= 0x00000001; 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() { - uris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -601,9 +667,9 @@ public Builder addUrisBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +679,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(); } @@ -627,27 +693,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; @@ -662,6 +728,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..19b58b68568a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 2a6632ef1dfb..785432fc70a0 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,7 +76,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 @@ -63,14 +88,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
@@ -78,17 +104,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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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; } @@ -160,132 +186,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(); @@ -295,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_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 @@ -316,8 +346,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; } @@ -333,38 +366,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; @@ -404,17 +438,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) { @@ -424,10 +460,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
@@ -435,14 +474,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; @@ -451,6 +492,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
@@ -458,16 +501,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 { @@ -475,6 +519,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
@@ -482,19 +528,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
@@ -502,7 +554,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() { @@ -512,6 +567,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
@@ -519,22 +576,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); } @@ -544,12 +605,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(); } @@ -558,27 +619,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; @@ -593,6 +654,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..bd8872e0e4b3 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 7896cebd2894..b50c22700444 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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:
    *
@@ -55,7 +77,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 @@ -64,14 +89,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:
    *
@@ -80,17 +106,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 { @@ -99,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -135,15 +162,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; } @@ -162,132 +189,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(); @@ -297,9 +328,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 @@ -318,8 +349,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; } @@ -335,38 +369,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; @@ -406,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,10 +463,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:
      *
@@ -438,14 +478,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 +496,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      *
@@ -462,16 +506,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 { @@ -479,6 +524,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      *
@@ -487,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:
      *
@@ -508,7 +561,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() { @@ -518,6 +574,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      *
@@ -526,22 +584,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); } @@ -551,12 +613,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(); } @@ -565,27 +627,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; @@ -600,6 +662,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..54767347e22e --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 e52aa16734d9..651ecd34a373 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,52 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -60,10 +81,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
@@ -77,55 +101,62 @@ 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(); } - 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
@@ -139,6 +170,7 @@ protected java.lang.Object newInstance(
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -147,14 +179,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
@@ -168,16 +201,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 { @@ -186,6 +218,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -222,15 +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.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; } @@ -250,89 +283,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 @@ -342,39 +381,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(); @@ -384,19 +427,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); } @@ -405,13 +451,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_; @@ -422,46 +472,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; @@ -493,17 +551,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) { @@ -513,10 +573,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
@@ -530,13 +593,13 @@ public Builder mergeFrom(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -545,6 +608,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
@@ -558,15 +623,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 { @@ -574,6 +638,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
@@ -587,18 +653,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 +682,7 @@ public Builder setUri(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -621,6 +692,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
@@ -634,18 +707,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) { @@ -658,41 +734,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; @@ -704,17 +784,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
@@ -723,10 +806,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
@@ -735,12 +821,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
@@ -753,10 +841,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
@@ -769,31 +860,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:
@@ -811,10 +915,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:
@@ -832,27 +939,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_ = ""; @@ -862,25 +972,29 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } - 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 +1002,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 +1018,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 +1033,8 @@ public enum PartitionKey
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -924,6 +1044,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 +1056,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 +1080,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 +1141,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 +1155,7 @@ private PartitionKey(int value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -1037,14 +1164,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 +1181,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 +1198,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 +1216,7 @@ public java.lang.String getDataset() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tablePrefix. */ @java.lang.Override @@ -1094,14 +1225,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 +1246,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 +1265,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:
@@ -1178,6 +1331,7 @@ public java.lang.String getTablePrefix() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The writeDisposition. */ @java.lang.Override @@ -1186,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:
@@ -1211,16 +1366,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 { @@ -1229,6 +1383,7 @@ public java.lang.String getWriteDisposition() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1240,15 +1395,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_)) { @@ -1269,9 +1426,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_); @@ -1284,20 +1443,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; } @@ -1322,90 +1480,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 @@ -1415,39 +1584,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(); @@ -1460,19 +1633,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); } @@ -1480,14 +1656,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_; @@ -1507,46 +1688,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; @@ -1591,32 +1781,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) { @@ -1626,10 +1821,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
@@ -1638,13 +1836,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; @@ -1653,6 +1851,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1661,15 +1861,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 { @@ -1677,6 +1876,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1685,18 +1886,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
@@ -1705,6 +1910,7 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -1714,6 +1920,8 @@ public Builder clearDataset() { return this; } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1722,12 +1930,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; @@ -1737,6 +1947,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
@@ -1749,13 +1961,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; @@ -1764,6 +1976,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
@@ -1776,15 +1990,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 { @@ -1792,6 +2005,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
@@ -1804,18 +2019,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
@@ -1828,6 +2047,7 @@ public Builder setTablePrefix(
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { @@ -1837,6 +2057,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
@@ -1849,12 +2071,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; @@ -1864,22 +2088,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. */ @@ -1890,28 +2125,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(); } @@ -1921,11 +2176,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() { @@ -1937,6 +2197,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:
@@ -1954,13 +2216,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; @@ -1969,6 +2231,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:
@@ -1986,15 +2250,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 { @@ -2002,6 +2265,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:
@@ -2019,18 +2284,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:
@@ -2048,6 +2317,7 @@ public Builder setWriteDisposition(
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -2057,6 +2327,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:
@@ -2074,18 +2346,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) { @@ -2098,41 +2373,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; @@ -2144,22 +2423,26 @@ 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; + @SuppressWarnings("serial") 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; } @@ -2175,30 +2458,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 @@ -2206,42 +2496,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 @@ -2249,36 +2555,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; @@ -2290,13 +2612,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); } @@ -2308,12 +2633,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; @@ -2323,22 +2654,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: @@ -2372,131 +2702,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(); @@ -2513,9 +2848,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 @@ -2534,8 +2869,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; @@ -2545,15 +2883,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(); } } @@ -2562,38 +2899,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; @@ -2601,19 +2939,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(); @@ -2641,26 +2983,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) { @@ -2670,12 +3012,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() { @@ -2688,13 +3030,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 @@ -2702,35 +3052,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(); @@ -2744,14 +3108,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(); @@ -2762,18 +3131,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; } @@ -2789,11 +3169,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) { @@ -2812,50 +3196,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; @@ -2866,13 +3274,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 @@ -2880,35 +3296,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(); @@ -2922,14 +3352,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(); @@ -2940,18 +3375,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; } @@ -2967,11 +3414,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) { @@ -2990,50 +3441,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; @@ -3042,9 +3518,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); } @@ -3054,12 +3530,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(); } @@ -3068,27 +3544,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; @@ -3103,6 +3579,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 51% 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 b9ddc5b614c5..f84678fe9517 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,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); 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 ee4be451b23c..9a778391a43d 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,53 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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)
@@ -56,10 +78,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)
@@ -68,12 +93,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
@@ -82,43 +109,48 @@ 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();
     }
 
-    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)
@@ -127,6 +159,7 @@ protected java.lang.Object newInstance(
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ @java.lang.Override @@ -135,14 +168,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)
@@ -151,16 +185,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 { @@ -169,6 +202,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -205,15 +238,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; } @@ -233,89 +266,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 @@ -325,6 +364,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
@@ -333,33 +374,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();
@@ -369,14 +411,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
@@ -390,13 +434,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_;
@@ -407,46 +455,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;
@@ -478,17 +533,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) {
@@ -498,10 +555,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)
@@ -510,13 +570,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; @@ -525,6 +585,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -533,15 +595,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 { @@ -549,6 +610,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -557,18 +620,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)
@@ -577,6 +644,7 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { @@ -586,6 +654,8 @@ public Builder clearFullResourceName() { return this; } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -594,18 +664,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) { @@ -618,41 +691,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; @@ -664,17 +740,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
@@ -691,10 +770,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
@@ -711,12 +793,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,
@@ -725,43 +809,48 @@ 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();
     }
 
-    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
@@ -778,6 +867,7 @@ protected java.lang.Object newInstance(
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ @java.lang.Override @@ -786,14 +876,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
@@ -810,16 +901,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 { @@ -828,6 +918,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -839,8 +930,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -864,15 +954,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; } @@ -892,89 +982,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 @@ -984,6 +1080,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,
@@ -992,33 +1090,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();
@@ -1028,14 +1127,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
@@ -1049,13 +1150,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_;
@@ -1066,46 +1171,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;
@@ -1137,17 +1249,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) {
@@ -1157,10 +1271,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
@@ -1177,13 +1294,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; @@ -1192,6 +1309,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1208,15 +1327,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 { @@ -1224,6 +1342,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1240,18 +1360,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
@@ -1268,6 +1392,7 @@ public Builder setIdentity(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIdentity() { @@ -1277,6 +1402,8 @@ public Builder clearIdentity() { return this; } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1293,18 +1420,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) { @@ -1317,41 +1447,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; @@ -1363,99 +1496,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
@@ -1466,75 +1622,84 @@ 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.emptyList();
-      permissions_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      roles_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      permissions_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessSelector();
     }
 
-    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.LazyStringArrayList roles_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * 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. */ @@ -1542,52 +1707,63 @@ 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.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * 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. */ @@ -1595,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; @@ -1620,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)); } @@ -1661,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; } @@ -1697,89 +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 @@ -1789,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
@@ -1799,52 +1984,52 @@ 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();
         bitField0_ = 0;
-        roles_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
-        permissions_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        roles_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        permissions_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @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();
       }
 
@@ -1859,13 +2044,17 @@ 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);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      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_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           roles_.makeImmutable();
@@ -1881,46 +2070,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_;
@@ -1967,24 +2162,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) {
@@ -1994,10 +2192,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList roles_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureRolesIsMutable() {
         if (!roles_.isModifiable()) {
           roles_ = new com.google.protobuf.LazyStringArrayList(roles_);
@@ -2005,35 +2205,43 @@ private void ensureRolesIsMutable() {
         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() { roles_.makeImmutable(); 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. */ @@ -2041,31 +2249,37 @@ 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); bitField0_ |= 0x00000001; @@ -2073,17 +2287,21 @@ public Builder setRoles( 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); bitField0_ |= 0x00000001; @@ -2091,50 +2309,58 @@ public Builder addRoles( 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_); bitField0_ |= 0x00000001; 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() { - roles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -2145,6 +2371,7 @@ public Builder addRolesBytes( private com.google.protobuf.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePermissionsIsMutable() { if (!permissions_.isModifiable()) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); @@ -2152,35 +2379,43 @@ private void ensurePermissionsIsMutable() { 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() { permissions_.makeImmutable(); 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. */ @@ -2188,31 +2423,37 @@ 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); bitField0_ |= 0x00000002; @@ -2220,17 +2461,21 @@ public Builder setPermissions( 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); bitField0_ |= 0x00000002; @@ -2238,50 +2483,58 @@ public Builder addPermissions( 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_); bitField0_ |= 0x00000002; 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() { - permissions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); 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); @@ -2289,6 +2542,7 @@ public Builder addPermissionsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2301,41 +2555,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; @@ -2347,17 +2604,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.
@@ -2374,11 +2634,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.
@@ -2392,11 +2655,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]
@@ -2428,22 +2694,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
@@ -2451,11 +2723,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
@@ -2494,53 +2769,61 @@ 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(); } - 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.
@@ -2557,6 +2840,7 @@ protected java.lang.Object newInstance(
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -2567,6 +2851,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.
@@ -2580,6 +2866,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -2590,6 +2877,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]
@@ -2621,6 +2910,7 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -2631,12 +2921,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 @@ -2647,6 +2940,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
@@ -2654,6 +2949,7 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -2664,6 +2960,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
@@ -2702,7 +3000,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 @@ -2711,6 +3012,7 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2722,8 +3024,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2752,28 +3053,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; @@ -2783,25 +3080,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; } @@ -2814,112 +3107,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 @@ -2929,39 +3223,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(); @@ -2976,9 +3272,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 @@ -2997,8 +3293,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; } @@ -3029,38 +3328,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; @@ -3068,7 +3370,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()); } @@ -3113,42 +3416,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) { @@ -3158,10 +3468,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.
@@ -3178,6 +3491,7 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -3185,6 +3499,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.
@@ -3201,6 +3517,7 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandGroups to set. * @return This builder for chaining. */ @@ -3212,6 +3529,8 @@ public Builder setExpandGroups(boolean value) { return this; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3228,6 +3547,7 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { @@ -3237,8 +3557,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.
@@ -3252,6 +3574,7 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -3259,6 +3582,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.
@@ -3272,6 +3597,7 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandRoles to set. * @return This builder for chaining. */ @@ -3283,6 +3609,8 @@ public Builder setExpandRoles(boolean value) { return this; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3296,6 +3624,7 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandRoles() { @@ -3305,8 +3634,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]
@@ -3338,6 +3669,7 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -3345,6 +3677,8 @@ public boolean getExpandResources() { return expandResources_; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3376,6 +3710,7 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandResources to set. * @return This builder for chaining. */ @@ -3387,6 +3722,8 @@ public Builder setExpandResources(boolean value) { return this; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3418,6 +3755,7 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandResources() { @@ -3427,14 +3765,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 @@ -3442,12 +3783,15 @@ 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. */ @@ -3459,12 +3803,15 @@ public Builder setOutputResourceEdges(boolean value) { 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() { @@ -3474,8 +3821,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
@@ -3483,6 +3832,7 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -3490,6 +3840,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
@@ -3497,6 +3849,7 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ @@ -3508,6 +3861,8 @@ public Builder setOutputGroupEdges(boolean value) { return this; } /** + * + * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3515,6 +3870,7 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { @@ -3524,8 +3880,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
@@ -3564,7 +3922,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 @@ -3572,6 +3933,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
@@ -3610,7 +3973,10 @@ 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. */ @@ -3622,6 +3988,8 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { return this; } /** + * + * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3660,7 +4028,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() { @@ -3669,6 +4040,7 @@ public Builder clearAnalyzeServiceAccountImpersonation() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3681,12 +4053,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(); } @@ -3695,27 +4067,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; @@ -3730,14 +4103,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
@@ -3745,10 +4120,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
@@ -3756,10 +4134,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
@@ -3770,56 +4151,64 @@ public interface ConditionContextOrBuilder extends
      */
     com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder();
 
-    com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.TimeContextCase getTimeContextCase();
+    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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -3835,24 +4224,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
@@ -3860,6 +4253,7 @@ public int getNumber() {
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -3867,6 +4261,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
@@ -3874,16 +4270,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
@@ -3895,12 +4294,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;
@@ -3912,8 +4312,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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_);
       }
@@ -3927,8 +4326,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;
@@ -3938,18 +4338,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:
@@ -3979,89 +4379,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
@@ -4071,39 +4477,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(); @@ -4117,14 +4526,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 @@ -4138,22 +4549,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(); } } @@ -4162,54 +4577,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(); @@ -4237,19 +4661,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) { @@ -4259,12 +4683,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() { @@ -4277,8 +4701,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
@@ -4286,6 +4715,7 @@ public Builder clearTimeContext() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4293,6 +4723,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
@@ -4300,6 +4732,7 @@ public boolean hasAccessTime() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return The accessTime. */ @java.lang.Override @@ -4317,6 +4750,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
@@ -4339,6 +4774,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
@@ -4347,8 +4784,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();
@@ -4359,6 +4795,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
@@ -4369,10 +4807,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;
           }
@@ -4388,6 +4829,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
@@ -4413,6 +4856,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
@@ -4425,6 +4870,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
@@ -4445,6 +4892,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
@@ -4454,23 +4903,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) {
@@ -4483,41 +4936,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;
@@ -4529,16 +4985,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.
@@ -4555,6 +5014,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefa
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -4563,14 +5023,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.
@@ -4587,16 +5048,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 { @@ -4607,11 +5067,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 @@ -4619,37 +5084,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 @@ -4657,37 +5141,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 @@ -4695,37 +5198,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 @@ -4733,37 +5255,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 @@ -4771,30 +5311,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; @@ -4806,8 +5361,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4839,24 +5393,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; @@ -4866,39 +5415,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; @@ -4938,132 +5482,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(); @@ -5098,9 +5646,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 @@ -5119,8 +5667,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; } @@ -5131,29 +5682,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(); } } @@ -5161,38 +5706,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; @@ -5200,7 +5746,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; @@ -5247,52 +5794,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) { @@ -5302,10 +5849,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.
@@ -5322,13 +5872,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; @@ -5337,6 +5887,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.
@@ -5353,15 +5905,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 { @@ -5369,6 +5920,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.
@@ -5385,18 +5938,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.
@@ -5413,6 +5970,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -5422,6 +5980,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.
@@ -5438,12 +5998,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; @@ -5453,41 +6015,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(); @@ -5501,11 +6083,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) { @@ -5519,17 +6105,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; @@ -5542,11 +6135,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); @@ -5559,48 +6156,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_; @@ -5608,41 +6223,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(); @@ -5656,11 +6291,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) { @@ -5674,17 +6313,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; @@ -5697,11 +6343,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); @@ -5714,48 +6364,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_; @@ -5763,41 +6431,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(); @@ -5811,11 +6499,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) { @@ -5829,17 +6521,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; @@ -5852,11 +6551,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); @@ -5869,48 +6572,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_; @@ -5918,39 +6639,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) { @@ -5966,11 +6706,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) { @@ -5984,17 +6728,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; @@ -6007,11 +6756,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); @@ -6024,11 +6777,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; @@ -6036,36 +6793,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_; @@ -6073,41 +6842,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(); @@ -6121,11 +6910,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) { @@ -6139,17 +6932,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; @@ -6162,11 +6962,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); @@ -6179,55 +6983,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); } @@ -6237,12 +7059,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(); } @@ -6251,27 +7073,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; @@ -6286,6 +7108,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 ec5005db8f0b..d1ec7799a604 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -24,10 +42,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.
@@ -44,143 +65,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 9130f891b165..a09bf246b99a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,69 +45,84 @@ private IamPolicyAnalysisResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisResult();
   }
 
-  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.
      * 
@@ -99,55 +132,63 @@ 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(); } - 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 @@ -156,30 +197,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 { @@ -190,11 +231,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 @@ -202,18 +246,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.
      * 
@@ -222,10 +273,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; @@ -237,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -258,8 +311,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; @@ -269,19 +321,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; @@ -306,89 +357,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 @@ -398,39 +454,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(); @@ -445,13 +503,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(); } @@ -466,21 +525,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(); } } @@ -488,38 +550,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; @@ -527,7 +592,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; @@ -562,24 +629,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) { @@ -589,23 +657,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; @@ -614,21 +685,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 { @@ -636,30 +708,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() { @@ -669,18 +748,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; @@ -690,34 +773,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.
        * 
@@ -738,6 +834,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -756,6 +854,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -764,9 +864,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; @@ -779,6 +880,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -796,6 +899,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -808,6 +913,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -818,11 +925,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.
        * 
@@ -830,18 +940,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) { @@ -854,12 +968,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(); } @@ -868,27 +983,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; @@ -903,90 +1019,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.
      * 
@@ -998,54 +1138,61 @@ public interface AccessOrBuilder extends 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -1061,41 +1208,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() { @@ -1106,8 +1262,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; @@ -1116,23 +1271,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; } @@ -1144,22 +1300,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() { @@ -1170,8 +1332,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; @@ -1180,23 +1341,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; } @@ -1209,11 +1371,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 @@ -1221,18 +1386,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.
      * 
@@ -1241,10 +1413,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; @@ -1256,8 +1431,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1283,8 +1457,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; @@ -1294,27 +1467,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: @@ -1352,89 +1523,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 @@ -1444,39 +1620,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(); @@ -1492,9 +1670,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 @@ -1513,8 +1691,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; @@ -1523,13 +1704,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_; } @@ -1538,38 +1719,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; @@ -1577,26 +1761,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(); @@ -1624,31 +1812,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) { @@ -1658,12 +1848,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() { @@ -1676,11 +1866,14 @@ public Builder clearOneofAccess() { private int bitField0_; /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return Whether the role field is set. */ @java.lang.Override @@ -1688,11 +1881,14 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The role. */ @java.lang.Override @@ -1702,8 +1898,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; @@ -1714,24 +1909,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; } @@ -1741,28 +1937,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() { @@ -1774,17 +1977,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; @@ -1793,11 +2000,14 @@ public Builder setRoleBytes( } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return Whether the permission field is set. */ @java.lang.Override @@ -1805,11 +2015,14 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The permission. */ @java.lang.Override @@ -1819,8 +2032,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; @@ -1831,24 +2043,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; } @@ -1858,28 +2071,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() { @@ -1891,17 +2111,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; @@ -1911,34 +2135,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.
        * 
@@ -1959,6 +2196,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -1977,6 +2216,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -1985,9 +2226,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; @@ -2000,6 +2242,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2017,6 +2261,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2029,6 +2275,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2039,11 +2287,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.
        * 
@@ -2051,18 +2302,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) { @@ -2075,12 +2330,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(); } @@ -2089,27 +2344,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; @@ -2124,14 +2380,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 of members, formatted as appear in an
      * [IAM policy
@@ -2147,10 +2405,13 @@ public interface IdentityOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The identity of members, formatted as appear in an
      * [IAM policy
@@ -2166,30 +2427,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.
      * 
@@ -2199,49 +2468,56 @@ 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(); } - 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 of members, formatted as appear in an
      * [IAM policy
@@ -2257,6 +2533,7 @@ protected java.lang.Object newInstance(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2265,14 +2542,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 of members, formatted as appear in an
      * [IAM policy
@@ -2288,16 +2566,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 { @@ -2308,11 +2585,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 @@ -2320,18 +2600,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.
      * 
@@ -2340,10 +2627,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; @@ -2355,8 +2645,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2376,8 +2665,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; @@ -2387,19 +2675,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; @@ -2424,89 +2711,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 @@ -2516,39 +2808,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(); @@ -2563,13 +2857,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(); } @@ -2584,21 +2879,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(); } } @@ -2606,38 +2904,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; @@ -2645,7 +2946,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; @@ -2680,24 +2983,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) { @@ -2707,10 +3011,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * The identity of members, formatted as appear in an
        * [IAM policy
@@ -2726,13 +3033,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; @@ -2741,6 +3048,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity of members, formatted as appear in an
        * [IAM policy
@@ -2756,15 +3065,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 { @@ -2772,6 +3080,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity of members, formatted as appear in an
        * [IAM policy
@@ -2787,18 +3097,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 of members, formatted as appear in an
        * [IAM policy
@@ -2814,6 +3128,7 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2823,6 +3138,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The identity of members, formatted as appear in an
        * [IAM policy
@@ -2838,12 +3155,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; @@ -2853,34 +3172,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.
        * 
@@ -2901,6 +3233,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2919,6 +3253,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2927,9 +3263,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; @@ -2942,6 +3279,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2959,6 +3298,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2971,6 +3312,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisState return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -2981,11 +3324,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.
        * 
@@ -2993,18 +3339,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) { @@ -3017,12 +3367,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(); } @@ -3031,27 +3382,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; @@ -3066,73 +3418,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_ = ""; @@ -3140,34 +3505,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(); } - 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 @@ -3176,30 +3546,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 { @@ -3208,15 +3578,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 @@ -3225,30 +3599,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 { @@ -3257,6 +3631,7 @@ public java.lang.String getTargetNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3268,8 +3643,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3299,17 +3673,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; } @@ -3331,89 +3704,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 @@ -3423,39 +3801,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(); @@ -3466,9 +3846,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 @@ -3487,8 +3867,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; } @@ -3507,38 +3890,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; @@ -3546,7 +3932,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; @@ -3583,22 +3970,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) { @@ -3608,23 +3998,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; @@ -3633,21 +4026,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 { @@ -3655,30 +4049,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() { @@ -3688,18 +4089,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; @@ -3709,19 +4114,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; @@ -3730,21 +4137,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 { @@ -3752,30 +4160,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() { @@ -3785,24 +4200,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) { @@ -3815,12 +4235,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(); } @@ -3829,27 +4249,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; @@ -3864,14 +4285,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;
@@ -3880,9 +4303,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;
@@ -3893,6 +4317,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;
@@ -3903,6 +4329,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;
@@ -3911,9 +4339,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;
@@ -3926,6 +4356,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;
@@ -3934,9 +4366,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;
@@ -3947,6 +4380,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;
@@ -3957,6 +4392,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;
@@ -3965,9 +4402,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;
@@ -3980,6 +4419,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
@@ -3992,9 +4433,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
@@ -4009,6 +4451,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
@@ -4023,6 +4467,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
@@ -4035,9 +4481,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
@@ -4054,26 +4502,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.
@@ -4084,6 +4540,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
@@ -4104,15 +4562,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();
@@ -4121,28 +4580,32 @@ private AccessControlList() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessControlList();
     }
 
-    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;
@@ -4152,10 +4615,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;
@@ -4165,11 +4631,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;
@@ -4183,6 +4652,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;
@@ -4196,6 +4667,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;
@@ -4205,15 +4678,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;
@@ -4223,10 +4699,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;
@@ -4236,11 +4715,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;
@@ -4254,6 +4736,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;
@@ -4267,6 +4751,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;
@@ -4282,9 +4768,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
@@ -4298,10 +4787,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
@@ -4315,11 +4807,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
@@ -4337,6 +4831,8 @@ public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4354,6 +4850,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
@@ -4367,20 +4865,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 @@ -4388,19 +4889,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.
@@ -4409,11 +4917,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;
@@ -4425,8 +4937,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -4449,20 +4960,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;
@@ -4472,23 +4980,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;
@@ -4523,89 +5028,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
@@ -4615,6 +5126,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
@@ -4635,33 +5148,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();
@@ -4696,14 +5210,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
@@ -4717,14 +5233,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_);
@@ -4754,12 +5274,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();
         }
       }
 
@@ -4767,46 +5289,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()) {
@@ -4825,9 +5354,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_);
             }
@@ -4851,9 +5381,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_);
             }
@@ -4877,9 +5408,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_);
             }
@@ -4914,58 +5446,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) {
@@ -4975,30 +5511,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 { @@ -5006,13 +5553,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) { @@ -5022,13 +5572,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) { @@ -5038,13 +5591,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) { @@ -5061,16 +5617,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()); @@ -5081,15 +5641,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(); @@ -5103,13 +5667,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) { @@ -5126,13 +5693,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) { @@ -5146,16 +5716,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()); @@ -5166,20 +5740,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); @@ -5187,13 +5764,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) { @@ -5206,13 +5786,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) { @@ -5225,45 +5808,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 { @@ -5271,73 +5865,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;
@@ -5346,7 +5964,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 {
@@ -5354,6 +5973,8 @@ public java.util.List
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5370,6 +5991,8 @@ public int getAccessesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5386,6 +6009,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;
@@ -5409,6 +6034,8 @@ public Builder setAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5418,7 +6045,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());
@@ -5429,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;
@@ -5451,6 +6081,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;
@@ -5474,6 +6106,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5494,6 +6128,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5503,7 +6139,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());
@@ -5514,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;
@@ -5523,11 +6162,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);
@@ -5535,6 +6174,8 @@ public Builder addAllAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5554,6 +6195,8 @@ public Builder clearAccesses() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5573,6 +6216,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;
@@ -5586,6 +6231,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;
@@ -5597,11 +6244,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;
@@ -5610,8 +6260,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 {
@@ -5619,6 +6270,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;
@@ -5628,10 +6281,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;
@@ -5642,10 +6298,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;
@@ -5654,38 +6314,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
@@ -5696,9 +6367,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 { @@ -5706,6 +6379,8 @@ public java.util.List ge } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5716,7 +6391,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) { @@ -5726,6 +6402,8 @@ public int getResourceEdgesCount() { } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5736,7 +6414,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) { @@ -5746,6 +6425,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
@@ -5756,7 +6437,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) { @@ -5773,6 +6455,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5783,10 +6467,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()); @@ -5797,6 +6483,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5807,9 +6495,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(); @@ -5823,6 +6513,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
@@ -5833,7 +6525,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) { @@ -5850,6 +6543,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5860,7 +6555,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) { @@ -5874,6 +6570,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5884,10 +6582,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()); @@ -5898,6 +6598,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5908,14 +6610,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); @@ -5923,6 +6626,8 @@ public Builder addAllResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5933,7 +6638,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) { @@ -5946,6 +6652,8 @@ public Builder clearResourceEdges() { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5956,7 +6664,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) { @@ -5969,6 +6678,8 @@ public Builder removeResourceEdges(int index) { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5979,13 +6690,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
@@ -5996,16 +6710,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
@@ -6016,10 +6734,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 { @@ -6027,6 +6747,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
@@ -6037,13 +6759,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
@@ -6054,14 +6781,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
@@ -6072,18 +6803,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(), @@ -6095,36 +6833,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.
@@ -6146,6 +6897,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.
@@ -6165,6 +6918,8 @@ public Builder setConditionEvaluation(
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6174,9 +6929,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;
@@ -6189,6 +6945,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.
@@ -6207,6 +6965,8 @@ public Builder clearConditionEvaluation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6220,6 +6980,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.
@@ -6227,15 +6989,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.
@@ -6244,18 +7010,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) {
@@ -6268,41 +7038,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;
@@ -6314,17 +7087,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:
@@ -6334,9 +7110,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:
@@ -6348,6 +7125,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:
@@ -6359,6 +7138,8 @@ public interface IdentityListOrBuilder extends
      */
     int getIdentitiesCount();
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6368,9 +7149,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:
@@ -6384,6 +7167,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
@@ -6399,9 +7184,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
@@ -6419,6 +7205,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
@@ -6436,6 +7224,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
@@ -6451,9 +7241,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
@@ -6473,21 +7265,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(); @@ -6495,28 +7290,32 @@ private IdentityList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IdentityList(); } - 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:
@@ -6527,10 +7326,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:
@@ -6541,11 +7343,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:
@@ -6560,6 +7365,8 @@ public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6574,6 +7381,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:
@@ -6584,15 +7393,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
@@ -6609,10 +7421,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
@@ -6629,11 +7444,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
@@ -6654,6 +7471,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
@@ -6674,6 +7493,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
@@ -6696,6 +7517,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6707,8 +7529,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -6725,12 +7546,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;
@@ -6740,17 +7559,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;
     }
@@ -6776,89 +7594,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
@@ -6868,39 +7691,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(); @@ -6923,13 +7748,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(); } @@ -6944,14 +7770,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_); @@ -6972,7 +7802,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_; } @@ -6980,46 +7811,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()) { @@ -7038,9 +7875,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_); } @@ -7064,9 +7902,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_); } @@ -7098,38 +7937,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) { @@ -7139,21 +7981,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:
@@ -7161,9 +8012,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 { @@ -7171,6 +8024,8 @@ public java.util.List * Only the identities that match one of the following conditions will be * presented: @@ -7178,7 +8033,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) { @@ -7188,6 +8044,8 @@ public int getIdentitiesCount() { } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7195,7 +8053,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) { @@ -7205,6 +8064,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities( } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7212,7 +8073,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) { @@ -7229,6 +8091,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7236,10 +8100,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()); @@ -7250,6 +8116,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7257,9 +8125,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(); @@ -7273,6 +8143,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:
@@ -7280,7 +8152,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) { @@ -7297,6 +8170,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7304,7 +8179,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) { @@ -7318,6 +8194,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7325,10 +8203,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()); @@ -7339,6 +8219,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7346,14 +8228,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); @@ -7361,6 +8244,8 @@ public Builder addAllIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7368,7 +8253,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) { @@ -7381,6 +8267,8 @@ public Builder clearIdentities() { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7388,7 +8276,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) { @@ -7401,6 +8290,8 @@ public Builder removeIdentities(int index) { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7408,13 +8299,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:
@@ -7422,16 +8316,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:
@@ -7439,10 +8337,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 { @@ -7450,6 +8350,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7457,13 +8359,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:
@@ -7471,14 +8378,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:
@@ -7486,40 +8398,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
@@ -7535,7 +8459,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 {
@@ -7543,6 +8468,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7566,6 +8493,8 @@ public int getGroupEdgesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7589,6 +8518,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
@@ -7619,6 +8550,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7635,7 +8568,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());
@@ -7646,6 +8580,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7675,6 +8611,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
@@ -7705,6 +8643,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7732,6 +8672,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,7 +8690,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());
@@ -7759,6 +8702,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7775,11 +8720,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);
@@ -7787,6 +8732,8 @@ public Builder addAllGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7813,6 +8760,8 @@ public Builder clearGroupEdges() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7839,6 +8788,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
@@ -7859,6 +8810,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
@@ -7877,11 +8830,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
@@ -7897,8 +8853,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 {
@@ -7906,6 +8863,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
@@ -7922,10 +8881,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
@@ -7943,10 +8905,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
@@ -7962,24 +8927,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) {
@@ -7992,41 +8961,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;
@@ -8038,16 +9010,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)
@@ -8057,6 +9032,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefault
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ @java.lang.Override @@ -8065,14 +9041,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)
@@ -8082,16 +9059,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 { @@ -8102,11 +9078,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 @@ -8114,11 +9093,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 @@ -8126,6 +9108,8 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** + * + * *
    * The IAM policy binding under analysis.
    * 
@@ -8138,9 +9122,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]
@@ -8148,13 +9136,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]
@@ -8162,14 +9155,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]
@@ -8177,13 +9175,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]
@@ -8191,13 +9193,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]
@@ -8205,17 +9212,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]
@@ -8223,6 +9234,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 @@ -8230,6 +9242,8 @@ public boolean hasIdentityList() { return identityList_ != null; } /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8237,13 +9251,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]
@@ -8253,13 +9272,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]
@@ -8267,6 +9291,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -8275,6 +9300,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8286,8 +9312,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -8313,23 +9338,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; @@ -8339,29 +9362,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; } @@ -8388,106 +9407,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.
@@ -8495,33 +9518,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();
@@ -8549,9 +9571,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
@@ -8570,14 +9592,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_);
@@ -8595,14 +9621,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_;
@@ -8613,38 +9636,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;
@@ -8652,7 +9676,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;
@@ -8679,9 +9704,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_);
           }
@@ -8719,49 +9745,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) {
@@ -8771,10 +9800,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)
@@ -8784,13 +9816,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; @@ -8799,6 +9831,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8808,15 +9842,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 { @@ -8824,6 +9857,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8833,18 +9868,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)
@@ -8854,6 +9893,7 @@ public Builder setAttachedResourceFullName(
      * 
* * string attached_resource_full_name = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { @@ -8863,6 +9903,8 @@ public Builder clearAttachedResourceFullName() { return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8872,12 +9914,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; @@ -8887,24 +9931,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() { @@ -8915,6 +9968,8 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -8935,14 +9990,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 { @@ -8953,6 +10009,8 @@ public Builder setIamBinding( return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -8961,9 +10019,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; @@ -8976,6 +10034,8 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -8993,6 +10053,8 @@ public Builder clearIamBinding() { return this; } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -9005,6 +10067,8 @@ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { return getIamBindingFieldBuilder().getBuilder(); } /** + * + * *
      * The IAM policy binding under analysis.
      * 
@@ -9015,11 +10079,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.
      * 
@@ -9027,32 +10092,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]
@@ -9060,9 +10137,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 { @@ -9070,6 +10150,8 @@ public java.util.List * The access control lists derived from the * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] @@ -9077,7 +10159,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) { @@ -9087,6 +10171,8 @@ public int getAccessControlListsCount() { } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9094,9 +10180,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 { @@ -9104,6 +10193,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]
@@ -9111,7 +10202,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) { @@ -9128,6 +10221,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9135,10 +10230,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()); @@ -9149,6 +10248,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9156,9 +10257,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(); @@ -9172,6 +10276,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]
@@ -9179,7 +10285,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) { @@ -9196,6 +10304,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9203,10 +10313,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()); @@ -9217,6 +10330,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9224,10 +10339,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()); @@ -9238,6 +10357,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9245,14 +10366,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); @@ -9260,6 +10384,8 @@ public Builder addAllAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9267,7 +10393,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) { @@ -9280,6 +10408,8 @@ public Builder clearAccessControlLists() { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9287,7 +10417,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) { @@ -9300,6 +10432,8 @@ public Builder removeAccessControlLists(int index) { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9307,13 +10441,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]
@@ -9321,16 +10459,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]
@@ -9338,10 +10481,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 { @@ -9349,6 +10495,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]
@@ -9356,13 +10504,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]
@@ -9370,14 +10525,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]
@@ -9385,18 +10547,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(), @@ -9408,8 +10579,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]
@@ -9417,12 +10593,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]
@@ -9430,16 +10609,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]
@@ -9448,7 +10632,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();
@@ -9462,6 +10647,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]
@@ -9482,6 +10669,8 @@ public Builder setIdentityList(
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9490,11 +10679,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;
@@ -9507,6 +10699,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]
@@ -9526,6 +10720,8 @@ public Builder clearIdentityList() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9534,12 +10730,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]
@@ -9548,15 +10747,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]
@@ -9566,21 +10769,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]
@@ -9588,6 +10796,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
      * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -9595,6 +10804,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9602,6 +10813,7 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 5; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ @@ -9613,6 +10825,8 @@ public Builder setFullyExplored(boolean value) { return this; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9620,6 +10834,7 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 5; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { @@ -9628,9 +10843,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); } @@ -9640,12 +10855,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(); } @@ -9654,27 +10869,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; @@ -9689,6 +10904,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..513b2c5de54a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 9fa6864f084c..2b959100b47e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,27 +45,30 @@ private IamPolicyAnalysisState() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisState();
   }
 
-  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:
@@ -58,12 +79,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:
@@ -74,22 +99,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 @@ -98,29 +129,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 { @@ -129,6 +160,7 @@ public java.lang.String getCause() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +172,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -158,8 +189,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_); @@ -172,16 +202,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; } @@ -202,99 +232,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.
@@ -302,33 +337,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();
@@ -339,9 +373,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
@@ -360,8 +394,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;
     }
@@ -380,38 +417,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;
@@ -419,7 +457,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());
       }
@@ -454,22 +493,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) {
@@ -479,10 +521,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:
@@ -493,12 +538,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:
@@ -509,6 +558,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. */ @@ -519,6 +569,8 @@ public Builder setCodeValue(int value) { return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -529,6 +581,7 @@ public Builder setCodeValue(int value) {
      * 
* * .google.rpc.Code code = 1; + * * @return The code. */ @java.lang.Override @@ -537,6 +590,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:
@@ -547,6 +602,7 @@ public com.google.rpc.Code getCode() {
      * 
* * .google.rpc.Code code = 1; + * * @param value The code to set. * @return This builder for chaining. */ @@ -560,6 +616,8 @@ public Builder setCode(com.google.rpc.Code value) { return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -570,6 +628,7 @@ public Builder setCode(com.google.rpc.Code value) {
      * 
* * .google.rpc.Code code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { @@ -581,18 +640,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; @@ -601,20 +662,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 { @@ -622,28 +684,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() { @@ -653,26 +722,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); } @@ -682,12 +755,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(); } @@ -696,27 +769,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; @@ -731,6 +804,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..bf6a9216612c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 72% 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 51f58f3c0366..3c37d5ec3fc2 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,58 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; project_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } - 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:`).
@@ -63,10 +84,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:`).
@@ -77,17 +102,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:`).
@@ -98,11 +126,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:`).
@@ -113,14 +147,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:`).
@@ -131,181 +170,209 @@ 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(); } - 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.emptyList(); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Permissions(); } - 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.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
        * 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. */ @@ -313,20 +380,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; @@ -338,8 +408,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -368,15 +437,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; } @@ -397,90 +467,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 @@ -490,62 +573,68 @@ 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(); bitField0_ = 0; - permissions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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); } @@ -553,14 +642,19 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_; if (((from_bitField0_ & 0x00000001) != 0)) { permissions_.makeImmutable(); @@ -572,46 +666,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_; @@ -648,18 +750,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) { @@ -669,10 +773,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePermissionsIsMutable() { if (!permissions_.isModifiable()) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); @@ -680,35 +786,43 @@ private void ensurePermissionsIsMutable() { 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() { permissions_.makeImmutable(); 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. */ @@ -716,31 +830,37 @@ 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); bitField0_ |= 0x00000001; @@ -748,17 +868,21 @@ public Builder setPermissions( 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); bitField0_ |= 0x00000001; @@ -766,50 +890,58 @@ public Builder addPermissions( 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_); bitField0_ |= 0x00000001; 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() { - permissions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -817,6 +949,7 @@ public Builder addPermissionsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -829,41 +962,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; @@ -875,39 +1012,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:`).
@@ -918,23 +1071,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:`).
@@ -945,13 +1104,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:`).
@@ -962,20 +1128,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:`).
@@ -986,14 +1160,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(); } @@ -1001,6 +1181,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; @@ -1012,10 +1193,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, @@ -1029,15 +1208,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; @@ -1047,15 +1231,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; } @@ -1077,89 +1262,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 @@ -1169,61 +1359,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(); @@ -1233,13 +1423,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(); } @@ -1254,13 +1445,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(); @@ -1272,38 +1467,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; @@ -1311,9 +1509,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(); @@ -1341,21 +1540,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) { @@ -1365,11 +1571,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( @@ -1377,11 +1589,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(); @@ -1390,10 +1606,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:`).
@@ -1404,23 +1623,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:`).
@@ -1431,13 +1656,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:`).
@@ -1448,20 +1680,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:`).
@@ -1472,26 +1713,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:`).
@@ -1502,25 +1751,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:`).
@@ -1531,19 +1784,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:`).
@@ -1554,15 +1814,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) { @@ -1575,12 +1840,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(); } @@ -1589,27 +1855,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; @@ -1624,13 +1891,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:
@@ -1645,6 +1914,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultIns
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -1653,14 +1923,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:
@@ -1675,16 +1946,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 { @@ -1693,9 +1963,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 +1979,7 @@ public java.lang.String getResource() {
    * 
* * string asset_type = 5; + * * @return The assetType. */ @java.lang.Override @@ -1714,14 +1988,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`.
@@ -1732,16 +2007,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 { @@ -1750,9 +2024,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
@@ -1766,6 +2043,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 2; + * * @return The project. */ @java.lang.Override @@ -1774,14 +2052,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
@@ -1795,16 +2074,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 { @@ -1813,10 +2091,13 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1830,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
@@ -1850,12 +2133,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
@@ -1869,6 +2155,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -1876,6 +2163,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
@@ -1889,18 +2178,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
@@ -1914,6 +2206,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -1922,14 +2215,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
@@ -1943,16 +2237,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 { @@ -1963,6 +2256,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
@@ -1981,6 +2276,7 @@ public java.lang.String getOrganization() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1988,6 +2284,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
@@ -2006,6 +2304,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ @java.lang.Override @@ -2013,6 +2312,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
@@ -2040,12 +2341,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 @@ -2053,19 +2357,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.
@@ -2074,11 +2385,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;
@@ -2090,8 +2405,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -2129,12 +2443,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_);
@@ -2158,32 +2470,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;
@@ -2221,132 +2527,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(); @@ -2354,8 +2664,7 @@ public Builder clear() { resource_ = ""; assetType_ = ""; project_ = ""; - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); organization_ = ""; policy_ = null; if (policyBuilder_ != null) { @@ -2371,9 +2680,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 @@ -2392,8 +2701,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.IamPolicySearchResult result = + new com.google.cloud.asset.v1.IamPolicySearchResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2417,14 +2729,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(); } } @@ -2432,38 +2741,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; @@ -2471,7 +2781,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; @@ -2534,52 +2845,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) { @@ -2589,10 +2904,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:
@@ -2607,13 +2925,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; @@ -2622,6 +2940,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2636,15 +2956,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 { @@ -2652,6 +2971,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2666,18 +2987,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:
@@ -2692,6 +3017,7 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -2701,6 +3027,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2715,12 +3043,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; @@ -2730,6 +3060,8 @@ public Builder setResourceBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2740,13 +3072,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; @@ -2755,6 +3087,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2765,15 +3099,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 { @@ -2781,6 +3114,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2791,18 +3126,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`.
@@ -2813,6 +3152,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 5; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -2822,6 +3162,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2832,12 +3174,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; @@ -2847,6 +3191,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
@@ -2860,13 +3206,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; @@ -2875,6 +3221,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
@@ -2888,15 +3236,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 { @@ -2904,6 +3251,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
@@ -2917,18 +3266,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
@@ -2942,6 +3295,7 @@ public Builder setProject(
      * 
* * string project = 2; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -2951,6 +3305,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
@@ -2964,12 +3320,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; @@ -2979,6 +3337,7 @@ public Builder setProjectBytes( private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFoldersIsMutable() { if (!folders_.isModifiable()) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); @@ -2986,6 +3345,8 @@ private void ensureFoldersIsMutable() { 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
@@ -2999,14 +3360,16 @@ 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() { folders_.makeImmutable(); 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
@@ -3020,12 +3383,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
@@ -3039,6 +3405,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3046,6 +3413,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
@@ -3059,14 +3428,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
@@ -3080,13 +3451,15 @@ 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); bitField0_ |= 0x00000008; @@ -3094,6 +3467,8 @@ public Builder setFolders( 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
@@ -3107,12 +3482,14 @@ 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); bitField0_ |= 0x00000008; @@ -3120,6 +3497,8 @@ public Builder addFolders( 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
@@ -3133,19 +3512,20 @@ 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_); bitField0_ |= 0x00000008; 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
@@ -3159,16 +3539,19 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; 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
@@ -3182,12 +3565,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); @@ -3198,6 +3583,8 @@ public Builder addFoldersBytes( private java.lang.Object organization_ = ""; /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3211,13 +3598,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; @@ -3226,6 +3613,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
@@ -3239,15 +3628,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 { @@ -3255,6 +3643,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
@@ -3268,18 +3658,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
@@ -3293,6 +3687,7 @@ public Builder setOrganization(
      * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -3302,6 +3697,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
@@ -3315,12 +3712,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; @@ -3330,8 +3729,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
@@ -3350,12 +3754,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
@@ -3374,6 +3781,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3384,6 +3792,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
@@ -3417,6 +3827,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
@@ -3436,8 +3848,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 {
@@ -3448,6 +3859,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
@@ -3469,9 +3882,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;
@@ -3484,6 +3897,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
@@ -3514,6 +3929,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
@@ -3539,6 +3956,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
@@ -3562,11 +3981,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
@@ -3587,14 +4007,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_;
@@ -3602,36 +4024,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.
@@ -3639,7 +4074,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();
@@ -3653,6 +4089,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.
@@ -3672,6 +4110,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.
@@ -3679,11 +4119,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;
@@ -3696,6 +4139,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.
@@ -3714,6 +4159,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.
@@ -3721,12 +4168,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.
@@ -3734,15 +4184,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.
@@ -3751,21 +4205,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);
     }
 
@@ -3775,12 +4232,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();
   }
@@ -3789,27 +4246,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;
@@ -3824,6 +4281,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 0170ad3670af..f7356fbd9cf4 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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:
@@ -22,10 +40,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:
@@ -40,12 +61,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`.
@@ -56,10 +79,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`.
@@ -70,12 +96,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
@@ -89,10 +117,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
@@ -106,12 +137,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
@@ -125,11 +158,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
@@ -143,10 +178,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
@@ -160,11 +198,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
@@ -178,13 +219,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
@@ -198,10 +241,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
@@ -215,12 +261,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
@@ -239,10 +287,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
@@ -261,10 +312,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
@@ -287,26 +341,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 78f71d9db544..f76322de8e04 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,58 +1,78 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; pageToken_ = ""; - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsRequest(); } - 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
@@ -61,7 +81,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 @@ -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. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -86,17 +110,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 { @@ -107,6 +132,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 +143,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -123,6 +151,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 +162,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -139,6 +170,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,10 +188,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList assetTypes_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -181,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".
@@ -210,12 +248,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".
@@ -238,6 +279,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. */ @@ -245,6 +287,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".
@@ -267,51 +311,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 @@ -320,9 +376,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
@@ -330,6 +389,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -338,14 +398,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
@@ -353,16 +414,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 { @@ -371,10 +431,13 @@ public java.lang.String getPageToken() { } public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -394,13 +457,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
@@ -420,12 +485,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
@@ -445,6 +513,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. */ @@ -452,6 +521,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
@@ -471,15 +542,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; @@ -491,8 +563,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -502,7 +573,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) { @@ -527,8 +599,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; @@ -538,13 +609,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_); @@ -565,29 +635,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; } @@ -624,132 +689,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(); @@ -760,20 +829,18 @@ public Builder clear() { readTimeBuilder_.dispose(); readTimeBuilder_ = null; } - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; pageSize_ = 0; pageToken_ = ""; - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -792,8 +859,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.ListAssetsRequest result = + new com.google.cloud.asset.v1.ListAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -804,9 +874,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_ & 0x00000004) != 0)) { assetTypes_.makeImmutable(); @@ -831,38 +899,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; @@ -936,51 +1005,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) { @@ -990,10 +1065,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
@@ -1002,14 +1080,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; @@ -1018,6 +1098,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1026,16 +1108,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 { @@ -1043,6 +1126,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1051,19 +1136,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
@@ -1072,7 +1163,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() { @@ -1082,6 +1176,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1090,13 +1186,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; @@ -1106,8 +1206,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).
@@ -1117,12 +1222,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).
@@ -1132,6 +1240,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1142,6 +1251,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).
@@ -1166,6 +1277,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).
@@ -1176,8 +1289,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 {
@@ -1188,6 +1300,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).
@@ -1200,9 +1314,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;
@@ -1215,6 +1329,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).
@@ -1236,6 +1352,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).
@@ -1252,6 +1370,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).
@@ -1266,11 +1386,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).
@@ -1282,14 +1403,17 @@ 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_;
@@ -1297,6 +1421,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList assetTypes_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAssetTypesIsMutable() {
       if (!assetTypes_.isModifiable()) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
@@ -1304,6 +1429,8 @@ private void ensureAssetTypesIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1326,14 +1453,16 @@ 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() { assetTypes_.makeImmutable(); return assetTypes_; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1356,12 +1485,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".
@@ -1384,6 +1516,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. */ @@ -1391,6 +1524,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".
@@ -1413,14 +1548,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".
@@ -1443,13 +1580,15 @@ 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); bitField0_ |= 0x00000004; @@ -1457,6 +1596,8 @@ public Builder setAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1479,12 +1620,14 @@ 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); bitField0_ |= 0x00000004; @@ -1492,6 +1635,8 @@ public Builder addAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1514,19 +1659,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1549,16 +1695,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1581,12 +1730,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); @@ -1597,24 +1748,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. */ @@ -1625,26 +1783,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. */ @@ -1658,12 +1823,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() { @@ -1673,14 +1841,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 @@ -1688,12 +1859,15 @@ 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. */ @@ -1705,12 +1879,15 @@ public Builder setPageSize(int value) { 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() { @@ -1722,6 +1899,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
@@ -1729,13 +1908,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; @@ -1744,6 +1923,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
@@ -1751,15 +1932,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 { @@ -1767,6 +1947,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
@@ -1774,18 +1956,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
@@ -1793,6 +1979,7 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1802,6 +1989,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
@@ -1809,12 +1998,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; @@ -1824,6 +2015,7 @@ public Builder setPageTokenBytes( private com.google.protobuf.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRelationshipTypesIsMutable() { if (!relationshipTypes_.isModifiable()) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); @@ -1831,6 +2023,8 @@ private void ensureRelationshipTypesIsMutable() { bitField0_ |= 0x00000040; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1850,14 +2044,16 @@ 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() { relationshipTypes_.makeImmutable(); return relationshipTypes_; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1877,12 +2073,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
@@ -1902,6 +2101,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. */ @@ -1909,6 +2109,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
@@ -1928,14 +2130,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
@@ -1955,13 +2159,15 @@ 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); bitField0_ |= 0x00000040; @@ -1969,6 +2175,8 @@ public Builder setRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1988,12 +2196,14 @@ 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); bitField0_ |= 0x00000040; @@ -2001,6 +2211,8 @@ public Builder addRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2020,19 +2232,20 @@ 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_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2052,16 +2265,19 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2081,12 +2297,14 @@ 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); @@ -2094,9 +2312,9 @@ public Builder addRelationshipTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2106,12 +2324,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(); } @@ -2120,27 +2338,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; @@ -2155,6 +2373,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 4012408d3c6f..b43fa970a93e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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".
@@ -97,11 +132,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".
@@ -124,10 +161,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".
@@ -150,11 +190,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".
@@ -177,45 +220,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
@@ -223,10 +277,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
@@ -234,12 +291,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
@@ -259,11 +318,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
@@ -283,10 +344,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
@@ -306,11 +370,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
@@ -330,9 +397,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 bbbc5898a79f..64484c9e76a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,32 +44,36 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsResponse(); } - 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 @@ -59,11 +81,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -71,6 +96,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -83,9 +110,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -97,6 +127,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -104,11 +136,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.
    * 
@@ -120,6 +154,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -131,6 +167,8 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -138,15 +176,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
@@ -154,6 +194,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -162,14 +203,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
@@ -177,16 +219,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 { @@ -195,6 +236,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,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 (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -227,12 +268,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_); @@ -245,22 +284,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; } @@ -287,132 +324,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(); @@ -434,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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 @@ -455,9 +496,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; } @@ -477,9 +521,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_; @@ -490,38 +532,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; @@ -551,9 +594,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_); } @@ -590,37 +634,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) { @@ -630,28 +674,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() { @@ -662,6 +716,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -682,14 +738,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 { @@ -700,6 +757,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -708,9 +767,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; @@ -723,6 +782,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -740,6 +801,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -752,6 +815,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -762,11 +827,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.
      * 
@@ -774,32 +840,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.
      * 
@@ -814,6 +889,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -828,6 +905,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -842,14 +921,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(); @@ -863,14 +943,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()); @@ -881,6 +962,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -901,14 +984,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(); @@ -922,14 +1006,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()); @@ -940,14 +1025,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()); @@ -958,6 +1044,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -968,8 +1056,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); @@ -977,6 +1064,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -994,6 +1083,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1011,39 +1102,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 { @@ -1051,6 +1147,8 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1058,42 +1156,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_; @@ -1101,6 +1204,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
@@ -1108,13 +1213,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; @@ -1123,6 +1228,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
@@ -1130,15 +1237,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 { @@ -1146,6 +1252,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
@@ -1153,18 +1261,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
@@ -1172,6 +1284,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1181,6 +1294,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
@@ -1188,21 +1303,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); } @@ -1212,12 +1329,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(); } @@ -1226,27 +1343,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; @@ -1261,6 +1378,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..e2151e4fdb36 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 7ede54c39b97..60209e4d174b 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -62,14 +85,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
@@ -77,16 +101,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 { @@ -95,6 +118,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -131,15 +154,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; } @@ -158,132 +181,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(); @@ -293,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_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 @@ -314,8 +341,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; } @@ -331,38 +361,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; @@ -402,17 +433,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) { @@ -422,10 +455,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
@@ -433,13 +469,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; @@ -448,6 +484,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
@@ -455,15 +493,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 { @@ -471,6 +508,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -478,18 +517,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
@@ -497,6 +540,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -506,6 +550,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
@@ -513,21 +559,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); } @@ -537,12 +585,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(); } @@ -551,27 +599,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; @@ -586,6 +634,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..3c40ad9e6107 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 e0e3222b7af5..79a7bbb1e61b 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,48 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
    * 
@@ -54,6 +72,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -61,11 +81,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.
    * 
@@ -77,6 +98,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -88,6 +111,8 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -95,12 +120,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; @@ -112,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -127,8 +151,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; @@ -138,15 +161,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; } @@ -167,128 +190,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(); @@ -304,9 +327,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 @@ -325,9 +348,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; } @@ -352,38 +378,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; @@ -410,9 +437,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_); } @@ -444,25 +472,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) { @@ -472,21 +500,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.
      * 
@@ -501,6 +536,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -515,6 +552,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -529,14 +568,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(); @@ -550,14 +590,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()); @@ -568,6 +609,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -588,14 +631,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(); @@ -609,14 +653,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()); @@ -627,14 +672,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()); @@ -645,6 +691,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -655,8 +703,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); @@ -664,6 +711,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -681,6 +730,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -698,39 +749,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 { @@ -738,6 +794,8 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -745,49 +803,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); } @@ -797,12 +859,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(); } @@ -811,27 +873,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; @@ -846,6 +908,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..e981c03d4c0e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 6d34e46a7365..de6b2e1a0095 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,35 +45,42 @@ private ListSavedQueriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSavedQueriesRequest(); } - 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 @@ -64,31 +89,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 { @@ -97,9 +124,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
@@ -111,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -119,14 +150,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
@@ -138,16 +170,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 { @@ -158,6 +189,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
@@ -166,6 +199,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -174,9 +208,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.
@@ -186,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +232,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.
@@ -211,16 +250,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 { @@ -229,6 +267,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +279,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -267,8 +305,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_); @@ -284,21 +321,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; } @@ -324,131 +358,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(); @@ -461,9 +499,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 @@ -482,8 +520,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; } @@ -508,38 +549,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; @@ -547,7 +589,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; @@ -592,32 +635,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) { @@ -627,24 +675,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; @@ -653,22 +706,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 { @@ -676,32 +732,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() { @@ -711,19 +778,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; @@ -733,6 +806,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
@@ -744,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; @@ -759,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
@@ -770,15 +847,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 { @@ -786,6 +862,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
@@ -797,18 +875,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
@@ -820,6 +902,7 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -829,6 +912,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
@@ -840,12 +925,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; @@ -853,8 +940,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
@@ -863,6 +952,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -870,6 +960,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
@@ -878,6 +970,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -889,6 +982,8 @@ public Builder setPageSize(int value) { 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
@@ -897,6 +992,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -908,6 +1004,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.
@@ -917,13 +1015,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; @@ -932,6 +1030,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -941,15 +1041,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 { @@ -957,6 +1056,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -966,18 +1067,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.
@@ -987,6 +1092,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -996,6 +1102,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1005,21 +1113,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); } @@ -1029,12 +1139,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(); } @@ -1043,27 +1153,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; @@ -1078,6 +1188,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 9d3315c9dd9e..129e84fe1d2a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -43,10 +70,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
@@ -58,12 +88,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
@@ -72,11 +104,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.
@@ -86,10 +121,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.
@@ -99,8 +137,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 221c1f366098..032aabcf8b2a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private ListSavedQueriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSavedQueriesResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getSavedQueriesList( return savedQueries_; } /** + * + * *
    * A list of savedQueries.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getSavedQueriesCount() { return savedQueries_.size(); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { return savedQueries_.get(index); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +408,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 @@ -394,14 +429,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_); @@ -424,38 +463,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; @@ -463,7 +503,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()) { @@ -482,9 +523,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_); } @@ -521,30 +563,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) { @@ -554,21 +598,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.
      * 
@@ -583,6 +635,8 @@ public java.util.List getSavedQueriesList( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -597,6 +651,8 @@ public int getSavedQueriesCount() { } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -611,14 +667,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(); @@ -632,6 +689,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -650,6 +709,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -670,14 +731,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(); @@ -691,14 +753,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()); @@ -709,6 +772,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -727,6 +792,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -737,8 +804,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); @@ -746,6 +812,8 @@ public Builder addAllSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -763,6 +831,8 @@ public Builder clearSavedQueries() { return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -780,39 +850,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 { @@ -820,6 +895,8 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -827,42 +904,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_; @@ -870,19 +953,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; @@ -891,21 +976,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 { @@ -913,30 +999,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() { @@ -946,27 +1039,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); } @@ -976,12 +1073,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(); } @@ -990,27 +1087,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; @@ -1025,6 +1122,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..c716fd8ba20c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 d20c733e161c..6411a8cb9056 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,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -68,33 +91,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 @@ -103,30 +133,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 { @@ -136,11 +166,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 @@ -148,21 +181,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.
    * 
@@ -172,18 +210,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 @@ -191,21 +232,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.
    * 
@@ -215,12 +261,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; @@ -232,8 +279,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -256,12 +302,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; @@ -271,24 +319,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: @@ -323,132 +368,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(); @@ -466,9 +515,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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 @@ -487,8 +536,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; @@ -504,12 +556,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(); } } @@ -518,38 +568,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; @@ -564,17 +615,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(); @@ -602,31 +656,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) { @@ -636,12 +690,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() { @@ -655,19 +709,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; @@ -676,21 +732,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 { @@ -698,30 +755,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() { @@ -731,18 +795,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; @@ -751,13 +819,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 @@ -765,11 +839,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 @@ -787,6 +864,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -807,6 +886,8 @@ public Builder setAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -825,6 +906,8 @@ public Builder setAnalysis( return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -833,10 +916,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; } @@ -852,6 +938,8 @@ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -875,6 +963,8 @@ public Builder clearAnalysis() { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -885,6 +975,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult.Builder getAnalysisBuilder() return getAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -903,6 +995,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -910,14 +1004,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()); @@ -929,13 +1028,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 @@ -943,11 +1046,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 @@ -965,6 +1071,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -985,14 +1093,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(); @@ -1003,6 +1112,8 @@ public Builder setError( return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1011,10 +1122,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; } @@ -1030,6 +1142,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1053,6 +1167,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1063,6 +1179,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1081,6 +1199,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1088,26 +1208,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); } @@ -1117,12 +1238,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(); } @@ -1131,27 +1252,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; @@ -1166,6 +1287,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 3a1125b6fb0f..1514618e88f4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 cbaa973b10f0..fde8f5367c09 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private MoveAnalysisResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveAnalysisResult(); } - 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.
@@ -60,6 +82,8 @@ public java.util.List getBlockersList() {
     return blockers_;
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -68,11 +92,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.
@@ -85,6 +111,8 @@ public int getBlockersCount() {
     return blockers_.size();
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -97,6 +125,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.
@@ -105,15 +135,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
@@ -127,6 +159,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
@@ -136,11 +170,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
@@ -154,6 +190,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
@@ -167,6 +205,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
@@ -176,12 +216,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;
@@ -193,8 +233,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -211,12 +250,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;
@@ -226,17 +263,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;
   }
@@ -261,132 +297,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(); @@ -409,9 +449,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 @@ -430,9 +470,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; } @@ -466,38 +509,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; @@ -524,9 +568,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_); } @@ -550,9 +595,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_); } @@ -584,38 +630,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) { @@ -625,21 +672,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.
@@ -655,6 +709,8 @@ public java.util.List getBlockersList() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -670,6 +726,8 @@ public int getBlockersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -685,6 +743,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.
@@ -692,8 +752,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();
@@ -707,6 +766,8 @@ public Builder setBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -726,6 +787,8 @@ public Builder setBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -747,6 +810,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.
@@ -754,8 +819,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();
@@ -769,6 +833,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -776,8 +842,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());
@@ -788,6 +853,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -807,6 +874,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -818,8 +887,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);
@@ -827,6 +895,8 @@ public Builder addAllBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -845,6 +915,8 @@ public Builder clearBlockers() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -863,6 +935,8 @@ public Builder removeBlockers(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -870,11 +944,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.
@@ -882,14 +957,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.
@@ -897,8 +974,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 {
@@ -906,6 +983,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.
@@ -914,10 +993,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.
@@ -925,12 +1006,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.
@@ -938,38 +1020,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
@@ -986,6 +1076,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
@@ -1002,6 +1094,8 @@ public int getWarningsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1018,6 +1112,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
@@ -1026,8 +1122,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();
@@ -1041,6 +1136,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
@@ -1061,6 +1158,8 @@ public Builder setWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1083,6 +1182,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
@@ -1091,8 +1192,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();
@@ -1106,6 +1206,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
@@ -1114,8 +1216,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());
@@ -1126,6 +1227,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
@@ -1146,6 +1249,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
@@ -1158,8 +1263,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);
@@ -1167,6 +1271,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
@@ -1186,6 +1292,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
@@ -1205,6 +1313,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
@@ -1213,11 +1323,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
@@ -1226,14 +1337,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
@@ -1242,8 +1355,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 {
@@ -1251,6 +1364,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
@@ -1260,10 +1375,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
@@ -1272,12 +1389,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
@@ -1286,27 +1404,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);
     }
 
@@ -1316,12 +1436,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();
   }
@@ -1330,27 +1450,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;
@@ -1365,6 +1485,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..edba64822025 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 65%
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 767a71ff4c9d..ef473a395a59 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,57 +1,80 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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 @@ -60,29 +83,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 { @@ -91,6 +114,7 @@ public java.lang.String getDetail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +150,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; } @@ -154,132 +176,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(); @@ -289,9 +314,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 @@ -311,7 +336,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; } @@ -327,38 +354,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; @@ -398,17 +426,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) { @@ -418,22 +448,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; @@ -442,20 +475,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 { @@ -463,28 +497,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() { @@ -494,26 +535,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); } @@ -523,12 +568,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(); } @@ -537,27 +582,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; @@ -572,6 +617,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..3ed709ab868d --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 f0e4aec243ac..5ba1e6261012 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,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,30 +89,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 @@ -98,21 +126,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.
    * 
@@ -122,19 +155,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 @@ -142,22 +178,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.
@@ -168,12 +209,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;
@@ -185,8 +227,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -203,12 +244,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;
@@ -218,7 +261,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);
@@ -228,12 +271,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:
@@ -266,132 +307,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(); @@ -408,9 +453,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 @@ -429,8 +474,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; @@ -443,12 +491,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(); } } @@ -457,38 +503,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; @@ -498,17 +545,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(); @@ -536,26 +586,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) { @@ -565,12 +615,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() { @@ -583,13 +633,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 @@ -597,11 +653,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 @@ -619,6 +678,8 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -639,6 +700,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.GcsDestination value) return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -657,6 +720,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -665,10 +730,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; } @@ -684,6 +752,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination valu return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -707,6 +777,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -717,6 +789,8 @@ public com.google.cloud.asset.v1.GcsDestination.Builder getGcsDestinationBuilder return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -735,6 +809,8 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -742,14 +818,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()); @@ -761,14 +842,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 @@ -776,12 +863,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 @@ -799,6 +889,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.
@@ -820,6 +912,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.
@@ -839,6 +933,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -848,10 +944,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;
         }
@@ -867,6 +966,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.
@@ -891,6 +992,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -902,6 +1005,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.
@@ -910,7 +1015,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 {
@@ -921,6 +1027,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.
@@ -929,14 +1037,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());
@@ -946,9 +1059,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);
     }
 
@@ -958,12 +1071,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();
   }
@@ -972,27 +1085,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;
@@ -1007,6 +1120,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 30c198a8576d..fb7521e0550a 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 a6e19d26b12f..8e3d573ae005 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,56 +1,78 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,29 +88,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 @@ -96,21 +123,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.
    * 
@@ -120,12 +152,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; @@ -137,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +184,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; @@ -163,7 +196,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); @@ -173,8 +206,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: @@ -203,132 +235,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(); @@ -342,9 +378,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 @@ -363,8 +399,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; @@ -377,8 +416,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(); } } @@ -387,38 +425,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; @@ -428,13 +467,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(); @@ -462,19 +503,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) { @@ -484,12 +525,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() { @@ -502,13 +543,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 @@ -516,11 +563,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 @@ -538,6 +588,8 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -558,14 +610,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(); @@ -576,6 +629,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -584,10 +639,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; } @@ -603,6 +661,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -626,6 +686,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -636,6 +698,8 @@ public com.google.cloud.asset.v1.GcsOutputResult.Builder getGcsResultBuilder() { return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -654,6 +718,8 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -661,14 +727,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()); @@ -678,9 +749,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); } @@ -690,12 +761,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(); } @@ -704,27 +775,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; @@ -739,6 +810,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 b01bc1055073..be89fe9e86f9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 9319e9faebd7..f526585195fd 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,49 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,9 +75,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.
      * 
@@ -65,6 +87,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,
@@ -77,6 +101,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
@@ -91,6 +117,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -99,6 +127,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,
@@ -111,6 +141,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
@@ -122,7 +154,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -147,49 +178,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;
@@ -209,30 +240,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; @@ -244,9 +287,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); @@ -258,9 +302,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; @@ -270,7 +315,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); @@ -296,132 +341,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(); @@ -431,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_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 @@ -452,8 +501,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; } @@ -469,38 +521,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; @@ -538,17 +591,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) { @@ -558,26 +613,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. */ @@ -588,24 +651,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. */ @@ -619,11 +691,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() { @@ -632,9 +707,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); } @@ -644,12 +719,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(); } @@ -658,27 +733,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; @@ -693,6 +768,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..745a094a3240 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 e69a905091ee..002d451a74ff 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,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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 @@ -61,30 +84,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 { @@ -93,6 +116,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -129,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.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; } @@ -156,132 +179,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(); @@ -291,9 +318,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 @@ -312,8 +339,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; } @@ -329,38 +359,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; @@ -400,17 +431,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) { @@ -420,23 +453,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; @@ -445,21 +481,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 { @@ -467,30 +504,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() { @@ -500,27 +544,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); } @@ -530,12 +578,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(); } @@ -544,27 +592,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; @@ -579,6 +627,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..6eab30e7aba1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 8bcd4d036dc4..06060069f458 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,74 +1,100 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -76,10 +102,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
@@ -87,12 +116,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:
@@ -108,10 +139,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:
@@ -127,27 +161,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_ = ""; @@ -156,34 +193,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(); } - 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 @@ -192,30 +234,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 { @@ -224,9 +266,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
@@ -234,6 +279,7 @@ public java.lang.String getDataset() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -242,14 +288,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
@@ -257,16 +304,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 { @@ -275,9 +321,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:
@@ -293,6 +342,7 @@ public java.lang.String getTable() {
      * 
* * string write_disposition = 3; + * * @return The writeDisposition. */ @java.lang.Override @@ -301,14 +351,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:
@@ -324,16 +375,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 { @@ -342,6 +392,7 @@ public java.lang.String getWriteDisposition() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,8 +404,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -390,19 +440,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; } @@ -426,89 +474,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 +572,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 +620,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 +644,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 +671,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 +760,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 +794,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 +822,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 +845,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 +885,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 +910,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 +919,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 +934,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 +943,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 +958,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 +967,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 +990,7 @@ public Builder setTable(
        * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -898,6 +1000,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 +1009,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 +1026,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:
@@ -935,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; @@ -950,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:
@@ -965,15 +1075,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 { @@ -981,6 +1090,8 @@ public java.lang.String getWriteDisposition() { } } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -996,18 +1107,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:
@@ -1023,6 +1138,7 @@ public Builder setWriteDisposition(
        * 
* * string write_disposition = 3; + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { @@ -1032,6 +1148,8 @@ public Builder clearWriteDisposition() { return this; } /** + * + * *
        * Specifies the action that occurs if the destination table or partition
        * already exists. The following values are supported:
@@ -1047,18 +1165,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) { @@ -1071,41 +1192,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; @@ -1117,20 +1242,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 @@ -1138,30 +1269,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; @@ -1173,8 +1320,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1188,8 +1334,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; @@ -1199,17 +1344,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; @@ -1232,131 +1377,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(); @@ -1370,9 +1519,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 @@ -1391,8 +1540,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; } @@ -1400,9 +1552,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(); } } @@ -1410,38 +1563,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; @@ -1449,7 +1603,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()); } @@ -1479,19 +1634,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) { @@ -1501,45 +1657,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(); @@ -1553,14 +1733,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 { @@ -1571,17 +1756,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; @@ -1594,11 +1786,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); @@ -1611,55 +1807,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); } @@ -1669,12 +1884,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(); } @@ -1683,27 +1898,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; @@ -1718,6 +1933,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..d331dd435a87 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 311b4ff9bd15..d282f18a888c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,34 +44,39 @@ private QueryAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryAssetsRequest(); } - 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; + @SuppressWarnings("serial") 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; } @@ -69,33 +92,40 @@ 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; + @SuppressWarnings("serial") 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; } @@ -111,27 +141,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
@@ -141,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 @@ -150,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
@@ -167,17 +207,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 { @@ -187,24 +228,30 @@ public java.lang.String getParent() { public static final int STATEMENT_FIELD_NUMBER = 2; /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery
    * SQL](https://cloud.google.com/bigquery/docs/introduction-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
    * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
    * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The statement. */ public java.lang.String getStatement() { @@ -215,8 +262,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; @@ -225,24 +271,25 @@ public java.lang.String getStatement() { } } /** + * + * *
    * Optional. A SQL statement that's compatible with [BigQuery
    * SQL](https://cloud.google.com/bigquery/docs/introduction-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; } @@ -254,24 +301,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() { @@ -282,8 +335,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; @@ -292,24 +344,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; } @@ -322,6 +375,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.
@@ -333,6 +388,7 @@ public java.lang.String getJobReference() {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -341,9 +397,12 @@ 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`.
    *
@@ -351,6 +410,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -359,14 +419,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 previous `QueryAssets`.
    *
@@ -374,16 +435,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 { @@ -394,6 +454,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
@@ -411,6 +473,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 @@ -418,6 +481,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
@@ -435,6 +500,7 @@ public boolean hasTimeout() {
    * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The timeout. */ @java.lang.Override @@ -442,6 +508,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
@@ -467,13 +535,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 @@ -481,47 +554,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 @@ -529,33 +615,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(); } @@ -563,6 +656,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.
    *
@@ -575,7 +670,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 @@ -583,6 +681,8 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Optional. Destination where the query results will be saved.
    *
@@ -595,14 +695,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.
    *
@@ -615,14 +722,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; @@ -634,8 +746,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -682,27 +793,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; @@ -712,38 +822,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: @@ -751,12 +855,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: @@ -815,132 +917,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(); @@ -972,9 +1078,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 @@ -993,8 +1099,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; @@ -1012,14 +1121,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(); } } @@ -1028,12 +1134,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(); } } @@ -1042,38 +1146,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; @@ -1102,34 +1207,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(); @@ -1157,67 +1268,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) { @@ -1227,12 +1340,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() { @@ -1244,10 +1357,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() { @@ -1261,6 +1373,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
@@ -1270,14 +1384,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; @@ -1286,6 +1402,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
@@ -1295,16 +1413,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 { @@ -1312,6 +1431,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
@@ -1321,19 +1442,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
@@ -1343,7 +1470,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() { @@ -1353,6 +1483,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
@@ -1362,13 +1494,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; @@ -1377,12 +1513,15 @@ public Builder setParentBytes( } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery
      * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the statement field is set. */ @java.lang.Override @@ -1390,12 +1529,15 @@ public boolean hasStatement() { return queryCase_ == 2; } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery
      * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The statement. */ @java.lang.Override @@ -1405,8 +1547,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; @@ -1417,25 +1558,26 @@ public java.lang.String getStatement() { } } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery
      * SQL](https://cloud.google.com/bigquery/docs/introduction-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; } @@ -1445,30 +1587,37 @@ public java.lang.String getStatement() { } } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery
      * SQL](https://cloud.google.com/bigquery/docs/introduction-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
      * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
      * 
* * string statement = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearStatement() { @@ -1480,18 +1629,22 @@ public Builder clearStatement() { return this; } /** + * + * *
      * Optional. A SQL statement that's compatible with [BigQuery
      * SQL](https://cloud.google.com/bigquery/docs/introduction-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; @@ -1500,12 +1653,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 @@ -1513,12 +1669,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 @@ -1528,8 +1687,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; @@ -1540,25 +1698,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; } @@ -1568,30 +1727,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() { @@ -1603,18 +1769,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; @@ -1622,8 +1792,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.
@@ -1635,6 +1807,7 @@ public Builder setJobReferenceBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1642,6 +1815,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.
@@ -1653,6 +1828,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1664,6 +1840,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of rows to return in the results. Responses
      * are limited to 10 MB and 1000 rows.
@@ -1675,6 +1853,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1686,6 +1865,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      *
@@ -1693,13 +1874,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; @@ -1708,6 +1889,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      *
@@ -1715,15 +1898,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 { @@ -1731,6 +1913,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      *
@@ -1738,18 +1922,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. A page token received from previous `QueryAssets`.
      *
@@ -1757,6 +1945,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1766,6 +1955,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token received from previous `QueryAssets`.
      *
@@ -1773,12 +1964,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; @@ -1788,8 +1981,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
@@ -1807,12 +2005,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
@@ -1830,6 +2031,7 @@ public boolean hasTimeout() {
      * 
* * .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -1840,6 +2042,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
@@ -1872,6 +2076,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
@@ -1890,8 +2096,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 {
@@ -1902,6 +2107,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
@@ -1922,9 +2129,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;
@@ -1937,6 +2144,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
@@ -1966,6 +2175,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
@@ -1990,6 +2201,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
@@ -2012,11 +2225,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
@@ -2036,29 +2250,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 @@ -2066,13 +2291,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 @@ -2090,13 +2320,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) { @@ -2112,16 +2346,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(); @@ -2132,20 +2369,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; } @@ -2161,13 +2404,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) { @@ -2186,25 +2433,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() { @@ -2218,26 +2473,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; @@ -2246,14 +2508,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 @@ -2261,12 +2530,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 @@ -2284,12 +2557,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) { @@ -2305,15 +2581,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(); @@ -2324,19 +2602,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; } @@ -2352,12 +2634,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) { @@ -2376,23 +2661,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() { @@ -2406,25 +2697,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; @@ -2434,8 +2731,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.
      *
@@ -2448,13 +2750,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.
      *
@@ -2467,17 +2774,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.
      *
@@ -2490,7 +2804,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) { @@ -2506,6 +2822,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConfig return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      *
@@ -2518,7 +2836,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) { @@ -2532,6 +2852,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      *
@@ -2544,13 +2866,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; @@ -2563,6 +2888,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.QueryAssetsOutputConf return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      *
@@ -2575,7 +2902,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); @@ -2588,6 +2917,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Optional. Destination where the query results will be saved.
      *
@@ -2600,7 +2931,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; @@ -2608,6 +2941,8 @@ public com.google.cloud.asset.v1.QueryAssetsOutputConfig.Builder getOutputConfig return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Destination where the query results will be saved.
      *
@@ -2620,17 +2955,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.
      *
@@ -2643,24 +2983,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); } @@ -2670,12 +3015,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(); } @@ -2684,27 +3029,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; @@ -2719,6 +3064,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 41ed07352bb4..2b9b2352921c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -17,11 +35,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
@@ -31,77 +54,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
    * SQL](https://cloud.google.com/bigquery/docs/introduction-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
    * SQL](https://cloud.google.com/bigquery/docs/introduction-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
    * SQL](https://cloud.google.com/bigquery/docs/introduction-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.
@@ -113,11 +156,14 @@ 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`.
    *
@@ -125,10 +171,13 @@ public interface QueryAssetsRequestOrBuilder extends
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token received from previous `QueryAssets`.
    *
@@ -136,12 +185,14 @@ public interface QueryAssetsRequestOrBuilder 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. 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
@@ -159,10 +210,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
@@ -180,10 +234,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
@@ -205,69 +262,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.
    *
@@ -280,11 +364,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.
    *
@@ -297,11 +386,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.
    *
@@ -314,7 +408,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 288806c3cdc7..2b1ff104f2cb 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,59 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -69,33 +92,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 @@ -104,29 +135,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 { @@ -137,6 +168,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`.
    *
@@ -147,6 +180,7 @@ public java.lang.String getJobReference() {
    * 
* * bool done = 2; + * * @return The done. */ @java.lang.Override @@ -156,11 +190,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 @@ -168,21 +205,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.
    * 
@@ -192,18 +234,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 @@ -211,21 +256,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.
    * 
@@ -235,19 +285,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 @@ -255,22 +308,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.
@@ -281,12 +339,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;
@@ -298,8 +357,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -328,20 +386,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;
@@ -351,30 +411,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:
@@ -393,8 +449,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;
@@ -416,132 +471,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(); @@ -563,9 +622,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 @@ -584,8 +643,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; @@ -604,16 +666,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(); } } @@ -622,38 +681,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; @@ -671,21 +731,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(); @@ -713,43 +777,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) { @@ -759,12 +823,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() { @@ -778,18 +842,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; @@ -798,20 +864,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 { @@ -819,28 +886,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() { @@ -850,17 +924,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; @@ -868,8 +946,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`.
      *
@@ -880,6 +960,7 @@ public Builder setJobReferenceBytes(
      * 
* * bool done = 2; + * * @return The done. */ @java.lang.Override @@ -887,6 +968,8 @@ public boolean getDone() { return done_; } /** + * + * *
      * The query response, which can be either an `error` or a valid `response`.
      *
@@ -897,6 +980,7 @@ public boolean getDone() {
      * 
* * bool done = 2; + * * @param value The done to set. * @return This builder for chaining. */ @@ -908,6 +992,8 @@ public Builder setDone(boolean value) { return this; } /** + * + * *
      * The query response, which can be either an `error` or a valid `response`.
      *
@@ -918,6 +1004,7 @@ public Builder setDone(boolean value) {
      * 
* * bool done = 2; + * * @return This builder for chaining. */ public Builder clearDone() { @@ -928,13 +1015,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 @@ -942,11 +1033,14 @@ public boolean hasError() { return responseCase_ == 3; } /** + * + * *
      * Error status.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -964,6 +1058,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Error status.
      * 
@@ -984,14 +1080,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(); @@ -1002,6 +1099,8 @@ public Builder setError( return this; } /** + * + * *
      * Error status.
      * 
@@ -1010,10 +1109,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; } @@ -1029,6 +1129,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Error status.
      * 
@@ -1052,6 +1154,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Error status.
      * 
@@ -1062,6 +1166,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Error status.
      * 
@@ -1080,6 +1186,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** + * + * *
      * Error status.
      * 
@@ -1087,17 +1195,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; @@ -1106,13 +1215,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 @@ -1120,11 +1235,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 @@ -1142,6 +1260,8 @@ public com.google.cloud.asset.v1.QueryResult getQueryResult() { } } /** + * + * *
      * Result of the query.
      * 
@@ -1162,14 +1282,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(); @@ -1180,6 +1301,8 @@ public Builder setQueryResult( return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1188,10 +1311,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; } @@ -1207,6 +1333,8 @@ public Builder mergeQueryResult(com.google.cloud.asset.v1.QueryResult value) { return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1230,6 +1358,8 @@ public Builder clearQueryResult() { return this; } /** + * + * *
      * Result of the query.
      * 
@@ -1240,6 +1370,8 @@ public com.google.cloud.asset.v1.QueryResult.Builder getQueryResultBuilder() { return getQueryResultFieldBuilder().getBuilder(); } /** + * + * *
      * Result of the query.
      * 
@@ -1258,6 +1390,8 @@ public com.google.cloud.asset.v1.QueryResultOrBuilder getQueryResultOrBuilder() } } /** + * + * *
      * Result of the query.
      * 
@@ -1265,14 +1399,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()); @@ -1284,14 +1423,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 @@ -1299,12 +1444,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 @@ -1322,6 +1470,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.
@@ -1343,6 +1493,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.
@@ -1362,6 +1514,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.
@@ -1371,10 +1525,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;
         }
@@ -1390,6 +1548,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.
@@ -1414,6 +1574,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.
@@ -1425,6 +1587,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.
@@ -1444,6 +1608,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.
@@ -1452,14 +1618,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());
@@ -1469,9 +1640,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);
     }
 
@@ -1481,12 +1652,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();
   }
@@ -1495,27 +1666,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;
@@ -1530,6 +1701,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 dee4645b5b4e..186f02739b0c 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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`.
    *
@@ -38,29 +61,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.
    * 
@@ -70,24 +102,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.
    * 
@@ -97,26 +137,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 1f706d21623a..0a7c35ee7195 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * Execution results of the query.
  *
@@ -14,15 +31,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_ = "";
@@ -30,28 +48,32 @@ private QueryResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new QueryResult();
   }
 
-  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`.
    * 
@@ -63,6 +85,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -70,11 +94,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`.
    * 
@@ -86,6 +111,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -97,6 +124,8 @@ public com.google.protobuf.Struct getRows(int index) { return rows_.get(index); } /** + * + * *
    * Each row hold a query result in the format of `Struct`.
    * 
@@ -104,19 +133,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 @@ -124,11 +155,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 @@ -136,6 +170,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].
    * 
@@ -148,14 +184,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 @@ -164,29 +204,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 { @@ -197,11 +237,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 @@ -210,6 +253,7 @@ public long getTotalRows() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -245,19 +288,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; @@ -267,24 +307,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; } @@ -307,106 +343,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.
    *
@@ -417,33 +456,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();
@@ -466,9 +504,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
@@ -487,9 +525,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;
     }
@@ -509,9 +550,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_;
@@ -525,38 +564,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;
@@ -583,9 +623,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_);
           }
@@ -628,42 +669,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) {
@@ -673,21 +715,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`.
      * 
@@ -702,6 +750,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -716,6 +766,8 @@ public int getRowsCount() { } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -730,14 +782,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(); @@ -751,14 +804,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()); @@ -769,6 +823,8 @@ public Builder setRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -789,14 +845,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(); @@ -810,14 +867,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()); @@ -828,14 +886,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()); @@ -846,18 +905,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); @@ -865,6 +924,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -882,6 +943,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -899,39 +962,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 { @@ -939,6 +1006,8 @@ public com.google.protobuf.StructOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Each row hold a query result in the format of `Struct`.
      * 
@@ -946,42 +1015,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_; @@ -989,34 +1062,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].
      * 
@@ -1037,14 +1123,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 { @@ -1055,6 +1142,8 @@ public Builder setSchema( return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1063,9 +1152,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; @@ -1078,6 +1167,8 @@ public Builder mergeSchema(com.google.cloud.asset.v1.TableSchema value) { return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1095,6 +1186,8 @@ public Builder clearSchema() { return this; } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1107,6 +1200,8 @@ public com.google.cloud.asset.v1.TableSchema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Describes the format of the [rows].
      * 
@@ -1117,11 +1212,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].
      * 
@@ -1129,14 +1227,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_; @@ -1144,18 +1245,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; @@ -1164,20 +1267,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 { @@ -1185,28 +1289,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() { @@ -1216,17 +1327,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; @@ -1234,13 +1349,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 @@ -1248,11 +1366,14 @@ 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. */ @@ -1264,11 +1385,14 @@ public Builder setTotalRows(long value) { return this; } /** + * + * *
      * Total rows of the whole query results.
      * 
* * int64 total_rows = 4; + * * @return This builder for chaining. */ public Builder clearTotalRows() { @@ -1277,9 +1401,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); } @@ -1289,12 +1413,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(); } @@ -1303,27 +1427,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; @@ -1338,6 +1462,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..cb6e197b4eb3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 e68aae8cc6e9..e19128f42082 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,47 +34,51 @@
  *
  * 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_ = "";
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
     relationshipType_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
-  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`
@@ -68,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -76,14 +98,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`
@@ -94,16 +117,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 { @@ -112,9 +134,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`
    *
@@ -124,6 +149,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -132,14 +158,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`
    *
@@ -149,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 { @@ -167,10 +193,13 @@ public java.lang.String getAssetType() { } public static final int ANCESTORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -181,13 +210,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),
@@ -198,12 +229,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),
@@ -214,6 +248,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -221,6 +256,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),
@@ -231,24 +268,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 @@ -257,30 +298,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 { @@ -289,6 +330,7 @@ public java.lang.String getRelationshipType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -348,21 +389,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; } @@ -389,99 +426,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
@@ -495,49 +537,47 @@ 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();
       bitField0_ = 0;
       asset_ = "";
       assetType_ = "";
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       relationshipType_ = "";
       return this;
     }
 
     @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
@@ -556,8 +596,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1.RelatedAsset result =
+          new com.google.cloud.asset.v1.RelatedAsset(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -583,38 +626,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;
@@ -674,33 +718,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) {
@@ -710,10 +759,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`
@@ -724,13 +776,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; @@ -739,6 +791,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -749,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 { @@ -765,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`
@@ -775,18 +830,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`
@@ -797,6 +856,7 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -806,6 +866,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -816,12 +878,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; @@ -831,6 +895,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -840,13 +906,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; @@ -855,6 +921,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -864,15 +932,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 { @@ -880,6 +947,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -889,18 +958,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`
      *
@@ -910,6 +983,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -919,6 +993,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -928,12 +1004,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; @@ -943,6 +1021,7 @@ public Builder setAssetTypeBytes( private com.google.protobuf.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAncestorsIsMutable() { if (!ancestors_.isModifiable()) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); @@ -950,6 +1029,8 @@ private void ensureAncestorsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -960,14 +1041,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -978,12 +1061,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),
@@ -994,6 +1080,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1001,6 +1088,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),
@@ -1011,14 +1100,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),
@@ -1029,13 +1120,15 @@ 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); bitField0_ |= 0x00000004; @@ -1043,6 +1136,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1053,12 +1148,14 @@ 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); bitField0_ |= 0x00000004; @@ -1066,6 +1163,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1076,19 +1175,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1099,16 +1199,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1119,12 +1222,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); @@ -1135,19 +1240,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; @@ -1156,21 +1263,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 { @@ -1178,30 +1286,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() { @@ -1211,27 +1326,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); } @@ -1241,12 +1360,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(); } @@ -1255,27 +1374,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; @@ -1290,6 +1409,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 402b9739d8b6..139b2b83dffc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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`
@@ -18,10 +36,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`
@@ -32,12 +53,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`
    *
@@ -47,10 +70,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`
    *
@@ -60,12 +86,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),
@@ -76,11 +104,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),
@@ -91,10 +121,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),
@@ -105,11 +138,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),
@@ -120,31 +156,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 b3dc326e32ad..db68cbe8e6d8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,47 +30,53 @@
  *
  * 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();
   }
 
-  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 @@ -61,18 +84,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.
    * 
@@ -80,14 +110,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.
    * 
@@ -99,6 +135,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -106,11 +144,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.
    * 
@@ -122,6 +162,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -133,6 +175,8 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -140,12 +184,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; @@ -157,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -175,12 +218,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; @@ -190,7 +232,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); @@ -199,11 +241,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; } @@ -228,99 +268,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
@@ -330,33 +375,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();
@@ -377,9 +421,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
@@ -398,9 +442,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;
     }
@@ -420,9 +467,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();
       }
     }
 
@@ -430,38 +478,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;
@@ -491,9 +540,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_);
           }
@@ -525,32 +575,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) {
@@ -560,45 +611,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(); @@ -612,6 +678,8 @@ public Builder setRelationshipAttributes(com.google.cloud.asset.v1.RelationshipA return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -630,17 +698,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; @@ -653,6 +725,8 @@ public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1.Relationshi return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -670,33 +744,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.
      * 
@@ -704,32 +787,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.
      * 
@@ -744,6 +836,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -758,6 +852,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -772,14 +868,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(); @@ -793,6 +890,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -811,6 +910,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -831,14 +932,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(); @@ -852,14 +954,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()); @@ -870,6 +973,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -888,6 +993,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -898,8 +1005,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); @@ -907,6 +1013,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -924,6 +1032,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -941,39 +1051,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 { @@ -981,6 +1096,8 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -988,49 +1105,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); } @@ -1040,12 +1162,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(); } @@ -1054,27 +1176,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; @@ -1089,6 +1211,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..9c4468d8cbe3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 4d2fe1259e2c..6b99484d0f6c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,33 +44,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(); } - 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 @@ -61,29 +84,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 { @@ -92,15 +115,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 @@ -109,30 +136,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 { @@ -141,6 +168,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -183,17 +210,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; } @@ -214,132 +240,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(); @@ -350,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_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 @@ -371,8 +401,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; } @@ -391,38 +424,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; @@ -467,22 +501,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) { @@ -492,22 +529,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; @@ -516,20 +556,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 { @@ -537,28 +578,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() { @@ -568,17 +616,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; @@ -588,19 +640,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; @@ -609,21 +663,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 { @@ -631,30 +686,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() { @@ -664,27 +726,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); } @@ -694,12 +760,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(); } @@ -708,27 +774,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; @@ -743,6 +809,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..988b24e184da 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 26c77f859bea..a4495fd90da9 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getRelatedResou return relatedResources_; } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -65,11 +89,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.
    * 
@@ -81,6 +107,8 @@ public int getRelatedResourcesCount() { return relatedResources_.size(); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) return relatedResources_.get(index); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -105,6 +135,7 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } 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 < relatedResources_.size(); i++) { output.writeMessage(1, relatedResources_.get(i)); } @@ -131,8 +161,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; @@ -142,15 +171,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; } @@ -171,132 +200,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(); @@ -312,9 +345,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 @@ -333,9 +366,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; } @@ -360,38 +396,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; @@ -418,9 +455,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_); } @@ -452,25 +490,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) { @@ -480,21 +519,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.
      * 
@@ -509,6 +556,8 @@ public java.util.List getRelatedResou } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -523,6 +572,8 @@ public int getRelatedResourcesCount() { } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -537,14 +588,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(); @@ -558,6 +610,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -576,6 +630,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -596,14 +652,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(); @@ -617,6 +674,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -635,6 +694,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -653,6 +714,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -663,8 +726,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); @@ -672,6 +734,8 @@ public Builder addAllRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -689,6 +753,8 @@ public Builder clearRelatedResources() { return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -706,17 +772,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.
      * 
@@ -726,19 +795,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 { @@ -746,6 +818,8 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -753,38 +827,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(), @@ -793,9 +876,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); } @@ -805,12 +888,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(); } @@ -819,27 +902,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; @@ -854,6 +937,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..99b52a98f217 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 86796ba0336b..4dc7ab6d092f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,34 +51,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();
   }
 
-  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 @@ -68,30 +92,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 { @@ -100,14 +124,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 @@ -116,29 +144,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 { @@ -147,14 +175,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 @@ -163,29 +195,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 { @@ -194,14 +226,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 @@ -210,29 +246,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 { @@ -241,6 +277,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -295,21 +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.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; } @@ -334,99 +367,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
@@ -437,33 +475,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();
@@ -476,9 +513,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
@@ -497,8 +534,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;
     }
@@ -523,38 +563,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;
@@ -562,7 +603,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;
@@ -609,32 +651,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) {
@@ -644,23 +691,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; @@ -669,21 +719,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 { @@ -691,30 +742,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() { @@ -724,18 +782,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; @@ -745,18 +807,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; @@ -765,20 +829,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 { @@ -786,28 +851,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() { @@ -817,17 +889,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; @@ -837,18 +913,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; @@ -857,20 +935,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 { @@ -878,28 +957,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() { @@ -909,17 +995,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; @@ -929,18 +1019,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; @@ -949,20 +1041,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 { @@ -970,28 +1063,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() { @@ -1001,26 +1101,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); } @@ -1030,12 +1134,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(); } @@ -1044,27 +1148,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; @@ -1079,6 +1183,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..f12ab2609baf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 64fb7af92b5c..e47632d03a6e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,33 +48,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(); } - 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 @@ -65,29 +88,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 { @@ -96,9 +119,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:
@@ -109,6 +135,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -117,14 +144,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:
@@ -135,16 +163,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 { @@ -153,9 +180,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`
@@ -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`
@@ -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:
@@ -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:
@@ -245,16 +281,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 { @@ -263,9 +298,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
@@ -280,6 +318,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -288,14 +327,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
@@ -310,16 +350,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 { @@ -330,12 +369,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 @@ -343,12 +385,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 @@ -356,6 +401,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.
@@ -369,15 +416,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 @@ -386,30 +437,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 { @@ -418,6 +469,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,8 +481,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -477,8 +528,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_); @@ -491,30 +541,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; } @@ -547,132 +590,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(); @@ -692,9 +738,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 @@ -714,7 +760,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; } @@ -737,9 +785,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_; @@ -750,38 +796,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; @@ -849,49 +896,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) { @@ -901,22 +954,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; @@ -925,20 +981,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 { @@ -946,28 +1003,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() { @@ -977,17 +1041,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; @@ -997,6 +1065,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1007,13 +1077,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; @@ -1022,6 +1092,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1032,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 { @@ -1048,6 +1119,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1058,18 +1131,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:
@@ -1080,6 +1157,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1089,6 +1167,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1099,12 +1179,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; @@ -1114,6 +1196,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1123,13 +1207,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; @@ -1138,6 +1222,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1147,15 +1233,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 { @@ -1163,6 +1248,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1172,18 +1259,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`
@@ -1193,6 +1284,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1202,6 +1294,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1211,12 +1305,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; @@ -1226,6 +1322,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:
@@ -1235,13 +1333,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; @@ -1250,6 +1348,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:
@@ -1259,15 +1359,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 { @@ -1275,6 +1374,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:
@@ -1284,18 +1385,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:
@@ -1305,6 +1410,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1314,6 +1420,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:
@@ -1323,12 +1431,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; @@ -1338,6 +1448,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1352,13 +1464,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; @@ -1367,6 +1479,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1381,15 +1495,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 { @@ -1397,6 +1510,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1411,18 +1526,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
@@ -1437,6 +1556,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1446,6 +1566,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1460,12 +1582,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; @@ -1475,26 +1599,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() { @@ -1505,6 +1638,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1526,6 +1661,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.
@@ -1533,8 +1670,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 {
@@ -1545,6 +1681,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1554,9 +1692,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;
@@ -1569,6 +1707,8 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1587,6 +1727,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1600,6 +1742,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.
@@ -1611,11 +1755,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.
@@ -1624,14 +1769,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_;
@@ -1639,19 +1786,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; @@ -1660,21 +1809,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 { @@ -1682,30 +1832,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() { @@ -1715,27 +1872,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); } @@ -1745,12 +1906,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(); } @@ -1759,27 +1920,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; @@ -1794,6 +1955,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 ff3d61fa2a3f..67317d5a2a1c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -38,10 +61,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:
@@ -52,12 +78,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`
@@ -67,10 +95,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`
@@ -80,12 +111,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:
@@ -95,10 +128,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:
@@ -108,12 +144,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
@@ -128,10 +166,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
@@ -146,32 +187,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.
@@ -182,24 +231,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 cb73830d7ea6..04960b76cf8b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * A result of Resource Search, containing information of a cloud resource.
  * Next ID: 34
@@ -11,40 +28,35 @@
  *
  * 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_ = "";
     project_ = "";
-    folders_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    folders_ = com.google.protobuf.LazyStringArrayList.emptyList();
     organization_ = "";
     displayName_ = "";
     description_ = "";
     location_ = "";
-    networkTags_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
     kmsKey_ = "";
-    kmsKeys_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    kmsKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
     state_ = "";
     parentFullResourceName_ = "";
     versionedResources_ = java.util.Collections.emptyList();
     attachedResources_ = java.util.Collections.emptyList();
-    tagKeys_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    tagValues_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    tagValueIds_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    tagKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    tagValues_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    tagValueIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
     tags_ = java.util.Collections.emptyList();
     effectiveTags_ = java.util.Collections.emptyList();
     parentAssetType_ = "";
@@ -52,20 +64,18 @@ private ResourceSearchResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceSearchResult();
   }
 
-  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();
@@ -74,22 +84,27 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 32:
         return internalGetSccSecurityMarks();
       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`.
@@ -104,6 +119,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -112,14 +128,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`.
@@ -134,16 +151,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 { @@ -152,9 +168,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`.
    *
@@ -164,6 +183,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -172,14 +192,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`.
    *
@@ -189,16 +210,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 { @@ -207,9 +227,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
@@ -223,6 +246,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -231,14 +255,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
@@ -252,16 +277,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 { @@ -270,10 +294,13 @@ public java.lang.String getProject() { } public static final int FOLDERS_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -287,13 +314,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
@@ -307,12 +336,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
@@ -326,6 +358,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -333,6 +366,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
@@ -346,18 +381,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
@@ -371,6 +409,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 18; + * * @return The organization. */ @java.lang.Override @@ -379,14 +418,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
@@ -400,16 +440,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 { @@ -418,9 +457,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.
@@ -432,6 +474,7 @@ public java.lang.String getOrganization() {
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -440,14 +483,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.
@@ -459,16 +503,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 { @@ -477,9 +520,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
@@ -492,6 +538,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -500,14 +547,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
@@ -520,16 +568,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 { @@ -538,9 +585,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
@@ -553,6 +603,7 @@ public java.lang.String getDescription() {
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -561,14 +612,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
@@ -581,16 +633,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 { @@ -599,32 +650,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
@@ -644,20 +697,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
@@ -681,6 +735,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -700,17 +756,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
@@ -730,11 +788,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();
     }
@@ -742,10 +800,13 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList networkTags_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -761,13 +822,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
@@ -783,12 +846,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
@@ -804,6 +870,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. */ @@ -811,6 +878,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
@@ -826,18 +895,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)
@@ -859,24 +931,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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)
@@ -898,18 +973,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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 { @@ -918,10 +993,13 @@ public java.lang.String getNetworkTags(int index) { } public static final int KMS_KEYS_FIELD_NUMBER = 28; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -937,13 +1015,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)
@@ -959,12 +1039,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)
@@ -980,6 +1063,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. */ @@ -987,6 +1071,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)
@@ -1002,17 +1088,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
@@ -1028,6 +1116,7 @@ public java.lang.String getKmsKeys(int index) {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1035,6 +1124,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
@@ -1050,6 +1141,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return The createTime. */ @java.lang.Override @@ -1057,6 +1149,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
@@ -1081,6 +1175,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
@@ -1097,6 +1193,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1104,6 +1201,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
@@ -1120,6 +1219,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return The updateTime. */ @java.lang.Override @@ -1127,6 +1227,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
@@ -1150,9 +1252,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
@@ -1177,6 +1282,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 13; + * * @return The state. */ @java.lang.Override @@ -1185,14 +1291,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
@@ -1217,16 +1324,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 { @@ -1237,6 +1343,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,
@@ -1260,6 +1368,7 @@ public java.lang.String getState() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ @java.lang.Override @@ -1267,6 +1376,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,
@@ -1290,13 +1401,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,
@@ -1323,13 +1439,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`:
@@ -1341,6 +1462,7 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
    * 
* * string parent_full_resource_name = 19; + * * @return The parentFullResourceName. */ @java.lang.Override @@ -1349,14 +1471,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`:
@@ -1368,16 +1491,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 { @@ -1386,9 +1508,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
@@ -1406,6 +1531,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
@@ -1419,11 +1546,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
@@ -1441,6 +1570,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
@@ -1458,6 +1589,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
@@ -1477,9 +1610,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
@@ -1497,6 +1633,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
@@ -1510,11 +1648,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
@@ -1532,6 +1672,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
@@ -1549,6 +1691,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
@@ -1568,32 +1712,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
@@ -1606,20 +1758,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
@@ -1632,10 +1786,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
@@ -1648,17 +1805,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
@@ -1671,9 +1831,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)) {
@@ -1683,10 +1844,13 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
   }
 
   public static final int TAG_KEYS_FIELD_NUMBER = 23;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList tagKeys_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1704,15 +1868,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return A list containing the tagKeys. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagKeysList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagKeysList() { return tagKeys_; } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1730,14 +1897,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return The count of tagKeys. */ - @java.lang.Deprecated public int getTagKeysCount() { + @java.lang.Deprecated + public int getTagKeysCount() { return tagKeys_.size(); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1755,15 +1926,19 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the element to return. * @return The tagKeys at the given index. */ - @java.lang.Deprecated public java.lang.String getTagKeys(int index) { + @java.lang.Deprecated + public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1781,21 +1956,25 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagKeysBytes(int index) { + @java.lang.Deprecated + 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.LazyStringArrayList tagValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1815,15 +1994,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return A list containing the tagValues. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagValuesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagValuesList() { return tagValues_; } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1843,14 +2025,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return The count of tagValues. */ - @java.lang.Deprecated public int getTagValuesCount() { + @java.lang.Deprecated + public int getTagValuesCount() { return tagValues_.size(); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1870,15 +2056,19 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the element to return. * @return The tagValues at the given index. */ - @java.lang.Deprecated public java.lang.String getTagValues(int index) { + @java.lang.Deprecated + public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1898,21 +2088,25 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagValuesBytes(int index) { + @java.lang.Deprecated + 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.LazyStringArrayList tagValueIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1928,15 +2122,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return A list containing the tagValueIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagValueIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagValueIdsList() { return tagValueIds_; } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1952,14 +2149,18 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return The count of tagValueIds. */ - @java.lang.Deprecated public int getTagValueIdsCount() { + @java.lang.Deprecated + public int getTagValueIdsCount() { return tagValueIds_.size(); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1975,15 +2176,19 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the element to return. * @return The tagValueIds at the given index. */ - @java.lang.Deprecated public java.lang.String getTagValueIds(int index) { + @java.lang.Deprecated + public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1999,20 +2204,24 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagValueIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } public static final int TAGS_FIELD_NUMBER = 29; + @SuppressWarnings("serial") private java.util.List tags_; /** + * + * *
    * The tags directly attached to this resource.
    *
@@ -2039,6 +2248,8 @@ public java.util.List getTagsList() {
     return tags_;
   }
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -2061,11 +2272,12 @@ public java.util.List getTagsList() {
    * repeated .google.cloud.asset.v1.Tag tags = 29;
    */
   @java.lang.Override
-  public java.util.List 
-      getTagsOrBuilderList() {
+  public java.util.List getTagsOrBuilderList() {
     return tags_;
   }
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -2092,6 +2304,8 @@ public int getTagsCount() {
     return tags_.size();
   }
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -2118,6 +2332,8 @@ public com.google.cloud.asset.v1.Tag getTags(int index) {
     return tags_.get(index);
   }
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -2140,15 +2356,17 @@ public com.google.cloud.asset.v1.Tag getTags(int index) {
    * repeated .google.cloud.asset.v1.Tag tags = 29;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(int index) {
     return tags_.get(index);
   }
 
   public static final int EFFECTIVE_TAGS_FIELD_NUMBER = 30;
+
   @SuppressWarnings("serial")
   private java.util.List effectiveTags_;
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -2175,6 +2393,8 @@ public java.util.List getEffectiv
     return effectiveTags_;
   }
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -2197,11 +2417,13 @@ public java.util.List getEffectiv
    * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getEffectiveTagsOrBuilderList() {
     return effectiveTags_;
   }
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -2228,6 +2450,8 @@ public int getEffectiveTagsCount() {
     return effectiveTags_.size();
   }
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -2254,6 +2478,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetails getEffectiveTags(int index)
     return effectiveTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -2282,9 +2508,12 @@ public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOr
   }
 
   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.
    *
@@ -2297,6 +2526,7 @@ public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOr
    * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ @java.lang.Override @@ -2305,14 +2535,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.
    *
@@ -2325,16 +2556,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 { @@ -2343,32 +2573,36 @@ public java.lang.String getParentAssetType() { } public static final int SCC_SECURITY_MARKS_FIELD_NUMBER = 32; + private static final class SccSecurityMarksDefaultEntryHolder { - 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_SccSecurityMarksEntry_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_SccSecurityMarksEntry_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> sccSecurityMarks_; + private com.google.protobuf.MapField sccSecurityMarks_; + private com.google.protobuf.MapField - internalGetSccSecurityMarks() { + internalGetSccSecurityMarks() { if (sccSecurityMarks_ == null) { return com.google.protobuf.MapField.emptyMapField( SccSecurityMarksDefaultEntryHolder.defaultEntry); } return sccSecurityMarks_; } + public int getSccSecurityMarksCount() { return internalGetSccSecurityMarks().getMap().size(); } /** + * + * *
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -2384,20 +2618,21 @@ public int getSccSecurityMarksCount() {
    * map<string, string> scc_security_marks = 32;
    */
   @java.lang.Override
-  public boolean containsSccSecurityMarks(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsSccSecurityMarks(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetSccSecurityMarks().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getSccSecurityMarksMap()} instead.
-   */
+  /** Use {@link #getSccSecurityMarksMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSccSecurityMarks() {
     return getSccSecurityMarksMap();
   }
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -2417,6 +2652,8 @@ public java.util.Map getSccSecurityMarksMap(
     return internalGetSccSecurityMarks().getMap();
   }
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -2432,17 +2669,19 @@ public java.util.Map getSccSecurityMarksMap(
    * map<string, string> scc_security_marks = 32;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getSccSecurityMarksOrDefault(
+  public /* nullable */ java.lang.String getSccSecurityMarksOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSccSecurityMarks().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSccSecurityMarks().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -2458,11 +2697,11 @@ java.lang.String getSccSecurityMarksOrDefault(
    * map<string, string> scc_security_marks = 32;
    */
   @java.lang.Override
-  public java.lang.String getSccSecurityMarksOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSccSecurityMarks().getMap();
+  public java.lang.String getSccSecurityMarksOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSccSecurityMarks().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2470,6 +2709,7 @@ public java.lang.String getSccSecurityMarksOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2481,8 +2721,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -2501,12 +2740,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));
     }
@@ -2540,12 +2775,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));
     }
@@ -2564,12 +2795,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     for (int i = 0; i < effectiveTags_.size(); i++) {
       output.writeMessage(30, effectiveTags_.get(i));
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetSccSecurityMarks(),
-        SccSecurityMarksDefaultEntryHolder.defaultEntry,
-        32);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetSccSecurityMarks(), SccSecurityMarksDefaultEntryHolder.defaultEntry, 32);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentAssetType_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 103, parentAssetType_);
     }
@@ -2600,15 +2827,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;
@@ -2619,26 +2846,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;
@@ -2655,18 +2880,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;
@@ -2701,22 +2927,20 @@ public int getSerializedSize() {
       size += 2 * getKmsKeysList().size();
     }
     for (int i = 0; i < tags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(29, tags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, tags_.get(i));
     }
     for (int i = 0; i < effectiveTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(30, effectiveTags_.get(i));
-    }
-    for (java.util.Map.Entry entry
-         : internalGetSccSecurityMarks().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      sccSecurityMarks__ = SccSecurityMarksDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(32, sccSecurityMarks__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, effectiveTags_.get(i));
+    }
+    for (java.util.Map.Entry entry :
+        internalGetSccSecurityMarks().getMap().entrySet()) {
+      com.google.protobuf.MapEntry sccSecurityMarks__ =
+          SccSecurityMarksDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, sccSecurityMarks__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentAssetType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, parentAssetType_);
@@ -2729,76 +2953,50 @@ public int getSerializedSize() {
   @java.lang.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 (!getTagsList()
-        .equals(other.getTagsList())) return false;
-    if (!getEffectiveTagsList()
-        .equals(other.getEffectiveTagsList())) return false;
-    if (!getParentAssetType()
-        .equals(other.getParentAssetType())) return false;
-    if (!internalGetSccSecurityMarks().equals(
-        other.internalGetSccSecurityMarks())) 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 (!getTagsList().equals(other.getTagsList())) return false;
+    if (!getEffectiveTagsList().equals(other.getEffectiveTagsList())) return false;
+    if (!getParentAssetType().equals(other.getParentAssetType())) return false;
+    if (!internalGetSccSecurityMarks().equals(other.internalGetSccSecurityMarks())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -2901,99 +3099,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: 34
@@ -3001,18 +3204,17 @@ 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();
@@ -3021,13 +3223,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 32:
           return internalGetSccSecurityMarks();
         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();
@@ -3036,28 +3237,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 32:
           return internalGetMutableSccSecurityMarks();
         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();
@@ -3065,18 +3265,15 @@ public Builder clear() {
       name_ = "";
       assetType_ = "";
       project_ = "";
-      folders_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      folders_ = com.google.protobuf.LazyStringArrayList.emptyList();
       organization_ = "";
       displayName_ = "";
       description_ = "";
       location_ = "";
       internalGetMutableLabels().clear();
-      networkTags_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList();
       kmsKey_ = "";
-      kmsKeys_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      kmsKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
       createTime_ = null;
       if (createTimeBuilder_ != null) {
         createTimeBuilder_.dispose();
@@ -3109,12 +3306,9 @@ public Builder clear() {
       }
       bitField0_ = (bitField0_ & ~0x00040000);
       internalGetMutableRelationships().clear();
-      tagKeys_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      tagValues_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      tagValueIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      tagKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      tagValues_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      tagValueIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (tagsBuilder_ == null) {
         tags_ = java.util.Collections.emptyList();
       } else {
@@ -3135,9 +3329,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
@@ -3156,9 +3350,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;
     }
@@ -3245,22 +3442,19 @@ private void buildPartial0(com.google.cloud.asset.v1.ResourceSearchResult result
         result.kmsKeys_ = kmsKeys_;
       }
       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_;
@@ -3294,38 +3488,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;
@@ -3379,8 +3574,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()) {
@@ -3444,9 +3638,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_);
           }
@@ -3470,16 +3665,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()) {
@@ -3529,9 +3724,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
             tagsBuilder_ = null;
             tags_ = other.tags_;
             bitField0_ = (bitField0_ & ~0x00800000);
-            tagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTagsFieldBuilder() : null;
+            tagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTagsFieldBuilder()
+                    : null;
           } else {
             tagsBuilder_.addAllMessages(other.tags_);
           }
@@ -3555,9 +3751,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
             effectiveTagsBuilder_ = null;
             effectiveTags_ = other.effectiveTags_;
             bitField0_ = (bitField0_ & ~0x01000000);
-            effectiveTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEffectiveTagsFieldBuilder() : null;
+            effectiveTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEffectiveTagsFieldBuilder()
+                    : null;
           } else {
             effectiveTagsBuilder_.addAllMessages(other.effectiveTags_);
           }
@@ -3568,8 +3765,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) {
         bitField0_ |= 0x02000000;
         onChanged();
       }
-      internalGetMutableSccSecurityMarks().mergeFrom(
-          other.internalGetSccSecurityMarks());
+      internalGetMutableSccSecurityMarks().mergeFrom(other.internalGetSccSecurityMarks());
       bitField0_ |= 0x04000000;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3597,203 +3793,230 @@ 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 234: {
-              com.google.cloud.asset.v1.Tag m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.Tag.parser(),
-                      extensionRegistry);
-              if (tagsBuilder_ == null) {
-                ensureTagsIsMutable();
-                tags_.add(m);
-              } else {
-                tagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 234
-            case 242: {
-              com.google.cloud.asset.v1.EffectiveTagDetails m =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.EffectiveTagDetails.parser(),
-                      extensionRegistry);
-              if (effectiveTagsBuilder_ == null) {
-                ensureEffectiveTagsIsMutable();
-                effectiveTags_.add(m);
-              } else {
-                effectiveTagsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 242
-            case 258: {
-              com.google.protobuf.MapEntry
-              sccSecurityMarks__ = input.readMessage(
-                  SccSecurityMarksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableSccSecurityMarks().getMutableMap().put(
-                  sccSecurityMarks__.getKey(), sccSecurityMarks__.getValue());
-              bitField0_ |= 0x04000000;
-              break;
-            } // case 258
-            case 826: {
-              parentAssetType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x02000000;
-              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 234:
+              {
+                com.google.cloud.asset.v1.Tag m =
+                    input.readMessage(com.google.cloud.asset.v1.Tag.parser(), extensionRegistry);
+                if (tagsBuilder_ == null) {
+                  ensureTagsIsMutable();
+                  tags_.add(m);
+                } else {
+                  tagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 234
+            case 242:
+              {
+                com.google.cloud.asset.v1.EffectiveTagDetails m =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.EffectiveTagDetails.parser(), extensionRegistry);
+                if (effectiveTagsBuilder_ == null) {
+                  ensureEffectiveTagsIsMutable();
+                  effectiveTags_.add(m);
+                } else {
+                  effectiveTagsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 242
+            case 258:
+              {
+                com.google.protobuf.MapEntry
+                    sccSecurityMarks__ =
+                        input.readMessage(
+                            SccSecurityMarksDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableSccSecurityMarks()
+                    .getMutableMap()
+                    .put(sccSecurityMarks__.getKey(), sccSecurityMarks__.getValue());
+                bitField0_ |= 0x04000000;
+                break;
+              } // case 258
+            case 826:
+              {
+                parentAssetType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x02000000;
+                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) {
@@ -3803,10 +4026,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`.
@@ -3821,13 +4047,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; @@ -3836,6 +4062,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`.
@@ -3850,15 +4078,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 { @@ -3866,6 +4093,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`.
@@ -3880,18 +4109,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`.
@@ -3906,6 +4139,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3915,6 +4149,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`.
@@ -3929,12 +4165,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; @@ -3944,6 +4182,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      *
@@ -3953,13 +4193,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; @@ -3968,6 +4208,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      *
@@ -3977,15 +4219,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 { @@ -3993,6 +4234,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      *
@@ -4002,18 +4245,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`.
      *
@@ -4023,6 +4270,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -4032,6 +4280,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      *
@@ -4041,12 +4291,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; @@ -4056,6 +4308,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
@@ -4069,13 +4323,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; @@ -4084,6 +4338,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
@@ -4097,15 +4353,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 { @@ -4113,6 +4368,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
@@ -4126,18 +4383,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
@@ -4151,6 +4412,7 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -4160,6 +4422,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
@@ -4173,12 +4437,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; @@ -4188,6 +4454,7 @@ public Builder setProjectBytes( private com.google.protobuf.LazyStringArrayList folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFoldersIsMutable() { if (!folders_.isModifiable()) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); @@ -4195,6 +4462,8 @@ private void ensureFoldersIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -4208,14 +4477,16 @@ 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() { folders_.makeImmutable(); return folders_; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -4229,12 +4500,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
@@ -4248,6 +4522,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -4255,6 +4530,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
@@ -4268,14 +4545,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
@@ -4289,13 +4568,15 @@ 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); bitField0_ |= 0x00000008; @@ -4303,6 +4584,8 @@ public Builder setFolders( return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -4316,12 +4599,14 @@ 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); bitField0_ |= 0x00000008; @@ -4329,6 +4614,8 @@ public Builder addFolders( return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -4342,19 +4629,20 @@ 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_); bitField0_ |= 0x00000008; 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
@@ -4368,16 +4656,19 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 17; + * * @return This builder for chaining. */ public Builder clearFolders() { - folders_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + folders_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; 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
@@ -4391,12 +4682,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); @@ -4407,6 +4700,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
@@ -4420,13 +4715,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; @@ -4435,6 +4730,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
@@ -4448,15 +4745,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 { @@ -4464,6 +4760,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
@@ -4477,18 +4775,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
@@ -4502,6 +4804,7 @@ public Builder setOrganization(
      * 
* * string organization = 18; + * * @return This builder for chaining. */ public Builder clearOrganization() { @@ -4511,6 +4814,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
@@ -4524,12 +4829,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; @@ -4539,6 +4846,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.
@@ -4550,13 +4859,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; @@ -4565,6 +4874,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4576,15 +4887,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 { @@ -4592,6 +4902,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4603,18 +4915,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.
@@ -4626,6 +4942,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4635,6 +4952,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -4646,12 +4965,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; @@ -4661,6 +4982,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
@@ -4673,13 +4996,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; @@ -4688,6 +5011,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
@@ -4700,15 +5025,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 { @@ -4716,6 +5040,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
@@ -4728,18 +5054,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
@@ -4752,6 +5082,7 @@ public Builder setDescription(
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4761,6 +5092,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
@@ -4773,12 +5106,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; @@ -4788,6 +5123,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
@@ -4800,13 +5137,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; @@ -4815,6 +5152,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
@@ -4827,15 +5166,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 { @@ -4843,6 +5181,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
@@ -4855,18 +5195,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
@@ -4879,6 +5223,7 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4888,6 +5233,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
@@ -4900,12 +5247,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; @@ -4913,21 +5262,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(); @@ -4936,10 +5283,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
@@ -4959,20 +5309,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
@@ -4996,6 +5347,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -5015,17 +5368,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
@@ -5045,23 +5400,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
@@ -5080,23 +5437,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
@@ -5115,17 +5471,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
@@ -5144,16 +5503,15 @@ 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.LazyStringArrayList networkTags_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureNetworkTagsIsMutable() {
       if (!networkTags_.isModifiable()) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
@@ -5161,6 +5519,8 @@ private void ensureNetworkTagsIsMutable() {
       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
@@ -5176,14 +5536,16 @@ 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() { networkTags_.makeImmutable(); 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
@@ -5199,12 +5561,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
@@ -5220,6 +5585,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. */ @@ -5227,6 +5593,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
@@ -5242,14 +5610,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
@@ -5265,13 +5635,15 @@ 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); bitField0_ |= 0x00000200; @@ -5279,6 +5651,8 @@ public Builder setNetworkTags( 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
@@ -5294,12 +5668,14 @@ 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); bitField0_ |= 0x00000200; @@ -5307,6 +5683,8 @@ public Builder addNetworkTags( 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
@@ -5322,19 +5700,20 @@ 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_); bitField0_ |= 0x00000200; 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
@@ -5350,16 +5729,19 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 8; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200);; + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + ; 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
@@ -5375,12 +5757,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); @@ -5391,6 +5775,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)
@@ -5412,15 +5798,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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; @@ -5429,6 +5816,8 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5450,17 +5839,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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 { @@ -5468,6 +5857,8 @@ public Builder addNetworkTagsBytes( } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5489,20 +5880,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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)
@@ -5524,17 +5920,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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)
@@ -5556,14 +5956,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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; @@ -5573,6 +5976,7 @@ public Builder addNetworkTagsBytes( private com.google.protobuf.LazyStringArrayList kmsKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKmsKeysIsMutable() { if (!kmsKeys_.isModifiable()) { kmsKeys_ = new com.google.protobuf.LazyStringArrayList(kmsKeys_); @@ -5580,6 +5984,8 @@ private void ensureKmsKeysIsMutable() { bitField0_ |= 0x00000800; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5595,14 +6001,16 @@ 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() { kmsKeys_.makeImmutable(); return kmsKeys_; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5618,12 +6026,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)
@@ -5639,6 +6050,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. */ @@ -5646,6 +6058,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)
@@ -5661,14 +6075,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)
@@ -5684,13 +6100,15 @@ 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); bitField0_ |= 0x00000800; @@ -5698,6 +6116,8 @@ public Builder setKmsKeys( return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5713,12 +6133,14 @@ 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); bitField0_ |= 0x00000800; @@ -5726,6 +6148,8 @@ public Builder addKmsKeys( return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5741,19 +6165,20 @@ 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_); bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5769,16 +6194,19 @@ public Builder addAllKmsKeys(
      * 
* * repeated string kms_keys = 28; + * * @return This builder for chaining. */ public Builder clearKmsKeys() { - kmsKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800);; + kmsKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + ; onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -5794,12 +6222,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); @@ -5810,8 +6240,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
@@ -5827,12 +6262,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
@@ -5848,16 +6286,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
@@ -5888,6 +6331,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
@@ -5904,8 +6349,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 {
@@ -5916,6 +6360,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
@@ -5934,9 +6380,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;
@@ -5949,6 +6395,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
@@ -5976,6 +6424,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
@@ -5998,6 +6448,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
@@ -6018,11 +6470,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
@@ -6040,14 +6495,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_;
@@ -6055,8 +6513,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
@@ -6073,12 +6536,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
@@ -6095,16 +6561,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
@@ -6136,6 +6607,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
@@ -6153,8 +6626,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 {
@@ -6165,6 +6637,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
@@ -6184,9 +6658,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;
@@ -6199,6 +6673,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
@@ -6227,6 +6703,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
@@ -6250,6 +6728,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
@@ -6271,11 +6751,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
@@ -6294,14 +6777,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_;
@@ -6309,6 +6795,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
@@ -6333,13 +6821,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; @@ -6348,6 +6836,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
@@ -6372,15 +6862,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 { @@ -6388,6 +6877,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
@@ -6412,18 +6903,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
@@ -6448,6 +6943,7 @@ public Builder setState(
      * 
* * string state = 13; + * * @return This builder for chaining. */ public Builder clearState() { @@ -6457,6 +6953,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
@@ -6481,12 +6979,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; @@ -6496,8 +6996,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,
@@ -6521,12 +7026,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,
@@ -6550,16 +7058,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,
@@ -6598,6 +7111,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,
@@ -6622,8 +7137,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 {
@@ -6634,6 +7148,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,
@@ -6660,9 +7176,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;
@@ -6675,6 +7191,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,
@@ -6710,6 +7228,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,
@@ -6740,6 +7260,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,
@@ -6768,11 +7290,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,
@@ -6798,14 +7323,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_;
@@ -6813,6 +7341,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`:
@@ -6824,13 +7354,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; @@ -6839,6 +7369,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`:
@@ -6850,15 +7382,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 { @@ -6866,6 +7397,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`:
@@ -6877,18 +7410,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`:
@@ -6900,6 +7437,7 @@ public Builder setParentFullResourceName(
      * 
* * string parent_full_resource_name = 19; + * * @return This builder for chaining. */ public Builder clearParentFullResourceName() { @@ -6909,6 +7447,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`:
@@ -6920,12 +7460,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; @@ -6934,18 +7476,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
@@ -6966,6 +7516,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
@@ -6986,6 +7538,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -7006,6 +7560,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
@@ -7033,6 +7589,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
@@ -7057,6 +7615,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
@@ -7083,6 +7643,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
@@ -7110,6 +7672,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
@@ -7134,6 +7698,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
@@ -7158,6 +7724,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
@@ -7174,8 +7742,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);
@@ -7183,6 +7750,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
@@ -7206,6 +7775,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
@@ -7229,6 +7800,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
@@ -7246,6 +7819,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
@@ -7261,11 +7836,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
@@ -7278,8 +7856,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 {
@@ -7287,6 +7865,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
@@ -7300,10 +7880,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
@@ -7318,10 +7900,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
@@ -7334,16 +7918,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(),
@@ -7354,18 +7944,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
@@ -7386,6 +7983,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
@@ -7406,6 +8005,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
@@ -7426,6 +8027,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
@@ -7453,6 +8056,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
@@ -7477,6 +8082,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
@@ -7503,6 +8110,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
@@ -7530,6 +8139,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
@@ -7554,6 +8165,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
@@ -7578,6 +8191,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
@@ -7594,8 +8209,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);
@@ -7603,6 +8217,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
@@ -7626,6 +8242,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
@@ -7649,6 +8267,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
@@ -7666,6 +8286,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
@@ -7681,11 +8303,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
@@ -7698,8 +8323,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 {
@@ -7707,6 +8332,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
@@ -7720,10 +8347,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
@@ -7738,10 +8367,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
@@ -7754,16 +8385,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(),
@@ -7774,8 +8411,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(
@@ -7783,11 +8423,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();
@@ -7796,10 +8438,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
@@ -7812,20 +8457,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
@@ -7838,10 +8485,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
@@ -7854,17 +8504,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
@@ -7879,7 +8532,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)) {
@@ -7887,13 +8542,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
@@ -7905,16 +8562,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() {
@@ -7922,6 +8577,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
@@ -7934,16 +8591,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
@@ -7957,14 +8618,14 @@ 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.LazyStringArrayList tagKeys_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureTagKeysIsMutable() {
       if (!tagKeys_.isModifiable()) {
         tagKeys_ = new com.google.protobuf.LazyStringArrayList(tagKeys_);
@@ -7972,6 +8633,8 @@ private void ensureTagKeysIsMutable() {
       bitField0_ |= 0x00100000;
     }
     /**
+     *
+     *
      * 
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -7989,16 +8652,19 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return A list containing the tagKeys. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagKeysList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagKeysList() { tagKeys_.makeImmutable(); return tagKeys_; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8016,14 +8682,18 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return The count of tagKeys. */ - @java.lang.Deprecated public int getTagKeysCount() { + @java.lang.Deprecated + public int getTagKeysCount() { return tagKeys_.size(); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8041,15 +8711,19 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the element to return. * @return The tagKeys at the given index. */ - @java.lang.Deprecated public java.lang.String getTagKeys(int index) { + @java.lang.Deprecated + public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8067,16 +8741,19 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagKeysBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getTagKeysBytes(int index) { return tagKeys_.getByteString(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8094,15 +8771,18 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index to set the value at. * @param value The tagKeys to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTagKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setTagKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagKeysIsMutable(); tagKeys_.set(index, value); bitField0_ |= 0x00100000; @@ -8110,6 +8790,8 @@ private void ensureTagKeysIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8127,14 +8809,17 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param value The tagKeys to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagKeysIsMutable(); tagKeys_.add(value); bitField0_ |= 0x00100000; @@ -8142,6 +8827,8 @@ private void ensureTagKeysIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8159,21 +8846,23 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param values The tagKeys to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllTagKeys( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllTagKeys(java.lang.Iterable values) { ensureTagKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagKeys_); bitField0_ |= 0x00100000; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8191,18 +8880,22 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTagKeys() { - tagKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00100000);; + @java.lang.Deprecated + public Builder clearTagKeys() { + tagKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00100000); + ; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8220,14 +8913,17 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param value The bytes of the tagKeys to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagKeysIsMutable(); tagKeys_.add(value); @@ -8238,6 +8934,7 @@ private void ensureTagKeysIsMutable() { private com.google.protobuf.LazyStringArrayList tagValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTagValuesIsMutable() { if (!tagValues_.isModifiable()) { tagValues_ = new com.google.protobuf.LazyStringArrayList(tagValues_); @@ -8245,6 +8942,8 @@ private void ensureTagValuesIsMutable() { bitField0_ |= 0x00200000; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8264,16 +8963,19 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return A list containing the tagValues. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagValuesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagValuesList() { tagValues_.makeImmutable(); return tagValues_; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8293,14 +8995,18 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return The count of tagValues. */ - @java.lang.Deprecated public int getTagValuesCount() { + @java.lang.Deprecated + public int getTagValuesCount() { return tagValues_.size(); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8320,15 +9026,19 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the element to return. * @return The tagValues at the given index. */ - @java.lang.Deprecated public java.lang.String getTagValues(int index) { + @java.lang.Deprecated + public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8348,16 +9058,19 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagValuesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getTagValuesBytes(int index) { return tagValues_.getByteString(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8377,15 +9090,18 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index to set the value at. * @param value The tagValues to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTagValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setTagValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagValuesIsMutable(); tagValues_.set(index, value); bitField0_ |= 0x00200000; @@ -8393,6 +9109,8 @@ private void ensureTagValuesIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8412,14 +9130,17 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param value The tagValues to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagValuesIsMutable(); tagValues_.add(value); bitField0_ |= 0x00200000; @@ -8427,6 +9148,8 @@ private void ensureTagValuesIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8446,21 +9169,23 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param values The tagValues to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllTagValues( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllTagValues(java.lang.Iterable values) { ensureTagValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValues_); bitField0_ |= 0x00200000; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8480,18 +9205,22 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTagValues() { - tagValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00200000);; + @java.lang.Deprecated + public Builder clearTagValues() { + tagValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00200000); + ; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8511,14 +9240,17 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param value The bytes of the tagValues to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagValuesIsMutable(); tagValues_.add(value); @@ -8529,6 +9261,7 @@ private void ensureTagValuesIsMutable() { private com.google.protobuf.LazyStringArrayList tagValueIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTagValueIdsIsMutable() { if (!tagValueIds_.isModifiable()) { tagValueIds_ = new com.google.protobuf.LazyStringArrayList(tagValueIds_); @@ -8536,6 +9269,8 @@ private void ensureTagValueIdsIsMutable() { bitField0_ |= 0x00400000; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8551,16 +9286,19 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return A list containing the tagValueIds. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getTagValueIdsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getTagValueIdsList() { tagValueIds_.makeImmutable(); return tagValueIds_; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8576,14 +9314,18 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return The count of tagValueIds. */ - @java.lang.Deprecated public int getTagValueIdsCount() { + @java.lang.Deprecated + public int getTagValueIdsCount() { return tagValueIds_.size(); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8599,15 +9341,19 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the element to return. * @return The tagValueIds at the given index. */ - @java.lang.Deprecated public java.lang.String getTagValueIds(int index) { + @java.lang.Deprecated + public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8623,16 +9369,19 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getTagValueIdsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8648,15 +9397,18 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index to set the value at. * @param value The tagValueIds to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setTagValueIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setTagValueIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagValueIdsIsMutable(); tagValueIds_.set(index, value); bitField0_ |= 0x00400000; @@ -8664,6 +9416,8 @@ private void ensureTagValueIdsIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8679,14 +9433,17 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param value The tagValueIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagValueIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagValueIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureTagValueIdsIsMutable(); tagValueIds_.add(value); bitField0_ |= 0x00400000; @@ -8694,6 +9451,8 @@ private void ensureTagValueIdsIsMutable() { return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8709,21 +9468,23 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param values The tagValueIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllTagValueIds( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllTagValueIds(java.lang.Iterable values) { ensureTagValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagValueIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValueIds_); bitField0_ |= 0x00400000; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8739,18 +9500,22 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearTagValueIds() { - tagValueIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000);; + @java.lang.Deprecated + public Builder clearTagValueIds() { + tagValueIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00400000); + ; onChanged(); return this; } /** + * + * *
      * This field is only present for the purpose of backward compatibility.
      * Use the `tags` field instead.
@@ -8766,14 +9531,17 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param value The bytes of the tagValueIds to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addTagValueIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureTagValueIdsIsMutable(); tagValueIds_.add(value); @@ -8782,19 +9550,24 @@ private void ensureTagValueIdsIsMutable() { return this; } - private java.util.List tags_ = - java.util.Collections.emptyList(); + private java.util.List tags_ = java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00800000) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00800000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder> tagsBuilder_; + com.google.cloud.asset.v1.Tag, + com.google.cloud.asset.v1.Tag.Builder, + com.google.cloud.asset.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags directly attached to this resource.
      *
@@ -8824,6 +9597,8 @@ public java.util.List getTagsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -8853,6 +9628,8 @@ public int getTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -8882,6 +9659,8 @@ public com.google.cloud.asset.v1.Tag getTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -8903,8 +9682,7 @@ public com.google.cloud.asset.v1.Tag getTags(int index) {
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder setTags(
-        int index, com.google.cloud.asset.v1.Tag value) {
+    public Builder setTags(int index, com.google.cloud.asset.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8918,6 +9696,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -8939,8 +9719,7 @@ public Builder setTags(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder setTags(
-        int index, com.google.cloud.asset.v1.Tag.Builder builderForValue) {
+    public Builder setTags(int index, com.google.cloud.asset.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.set(index, builderForValue.build());
@@ -8951,6 +9730,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -8986,6 +9767,8 @@ public Builder addTags(com.google.cloud.asset.v1.Tag value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9007,8 +9790,7 @@ public Builder addTags(com.google.cloud.asset.v1.Tag value) {
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder addTags(
-        int index, com.google.cloud.asset.v1.Tag value) {
+    public Builder addTags(int index, com.google.cloud.asset.v1.Tag value) {
       if (tagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -9022,6 +9804,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9043,8 +9827,7 @@ public Builder addTags(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder addTags(
-        com.google.cloud.asset.v1.Tag.Builder builderForValue) {
+    public Builder addTags(com.google.cloud.asset.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(builderForValue.build());
@@ -9055,6 +9838,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9076,8 +9861,7 @@ public Builder addTags(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder addTags(
-        int index, com.google.cloud.asset.v1.Tag.Builder builderForValue) {
+    public Builder addTags(int index, com.google.cloud.asset.v1.Tag.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
         tags_.add(index, builderForValue.build());
@@ -9088,6 +9872,8 @@ public Builder addTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9109,12 +9895,10 @@ public Builder addTags(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public Builder addAllTags(
-        java.lang.Iterable values) {
+    public Builder addAllTags(java.lang.Iterable values) {
       if (tagsBuilder_ == null) {
         ensureTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, tags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_);
         onChanged();
       } else {
         tagsBuilder_.addAllMessages(values);
@@ -9122,6 +9906,8 @@ public Builder addAllTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9154,6 +9940,8 @@ public Builder clearTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9186,6 +9974,8 @@ public Builder removeTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9207,11 +9997,12 @@ public Builder removeTags(int index) {
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public com.google.cloud.asset.v1.Tag.Builder getTagsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.Tag.Builder getTagsBuilder(int index) {
       return getTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9233,14 +10024,16 @@ public com.google.cloud.asset.v1.Tag.Builder getTagsBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(int index) {
       if (tagsBuilder_ == null) {
-        return tags_.get(index);  } else {
+        return tags_.get(index);
+      } else {
         return tagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9262,8 +10055,7 @@ public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public java.util.List 
-         getTagsOrBuilderList() {
+    public java.util.List getTagsOrBuilderList() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -9271,6 +10063,8 @@ public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9293,10 +10087,11 @@ public com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
     public com.google.cloud.asset.v1.Tag.Builder addTagsBuilder() {
-      return getTagsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.Tag.getDefaultInstance());
+      return getTagsFieldBuilder().addBuilder(com.google.cloud.asset.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9318,12 +10113,13 @@ public com.google.cloud.asset.v1.Tag.Builder addTagsBuilder() {
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public com.google.cloud.asset.v1.Tag.Builder addTagsBuilder(
-        int index) {
-      return getTagsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.Tag.getDefaultInstance());
+    public com.google.cloud.asset.v1.Tag.Builder addTagsBuilder(int index) {
+      return getTagsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The tags directly attached to this resource.
      *
@@ -9345,38 +10141,47 @@ public com.google.cloud.asset.v1.Tag.Builder addTagsBuilder(
      *
      * repeated .google.cloud.asset.v1.Tag tags = 29;
      */
-    public java.util.List 
-         getTagsBuilderList() {
+    public java.util.List getTagsBuilderList() {
       return getTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder> 
+            com.google.cloud.asset.v1.Tag,
+            com.google.cloud.asset.v1.Tag.Builder,
+            com.google.cloud.asset.v1.TagOrBuilder>
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.Tag, com.google.cloud.asset.v1.Tag.Builder, com.google.cloud.asset.v1.TagOrBuilder>(
-                tags_,
-                ((bitField0_ & 0x00800000) != 0),
-                getParentForChildren(),
-                isClean());
+        tagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.Tag,
+                com.google.cloud.asset.v1.Tag.Builder,
+                com.google.cloud.asset.v1.TagOrBuilder>(
+                tags_, ((bitField0_ & 0x00800000) != 0), getParentForChildren(), isClean());
         tags_ = null;
       }
       return tagsBuilder_;
     }
 
     private java.util.List effectiveTags_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureEffectiveTagsIsMutable() {
       if (!((bitField0_ & 0x01000000) != 0)) {
-        effectiveTags_ = new java.util.ArrayList(effectiveTags_);
+        effectiveTags_ =
+            new java.util.ArrayList(effectiveTags_);
         bitField0_ |= 0x01000000;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.EffectiveTagDetails, com.google.cloud.asset.v1.EffectiveTagDetails.Builder, com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder> effectiveTagsBuilder_;
+            com.google.cloud.asset.v1.EffectiveTagDetails,
+            com.google.cloud.asset.v1.EffectiveTagDetails.Builder,
+            com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>
+        effectiveTagsBuilder_;
 
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9406,6 +10211,8 @@ public java.util.List getEffectiv
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9435,6 +10242,8 @@ public int getEffectiveTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9464,6 +10273,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetails getEffectiveTags(int index)
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9500,6 +10311,8 @@ public Builder setEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9533,6 +10346,8 @@ public Builder setEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9568,6 +10383,8 @@ public Builder addEffectiveTags(com.google.cloud.asset.v1.EffectiveTagDetails va
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9604,6 +10421,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9637,6 +10456,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9670,6 +10491,8 @@ public Builder addEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9695,8 +10518,7 @@ public Builder addAllEffectiveTags(
         java.lang.Iterable values) {
       if (effectiveTagsBuilder_ == null) {
         ensureEffectiveTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, effectiveTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, effectiveTags_);
         onChanged();
       } else {
         effectiveTagsBuilder_.addAllMessages(values);
@@ -9704,6 +10526,8 @@ public Builder addAllEffectiveTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9736,6 +10560,8 @@ public Builder clearEffectiveTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9768,6 +10594,8 @@ public Builder removeEffectiveTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9794,6 +10622,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder getEffectiveTagsBui
       return getEffectiveTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9818,11 +10648,14 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder getEffectiveTagsBui
     public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(
         int index) {
       if (effectiveTagsBuilder_ == null) {
-        return effectiveTags_.get(index);  } else {
+        return effectiveTags_.get(index);
+      } else {
         return effectiveTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9844,8 +10677,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOr
      *
      * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
      */
-    public java.util.List 
-         getEffectiveTagsOrBuilderList() {
+    public java.util.List
+        getEffectiveTagsOrBuilderList() {
       if (effectiveTagsBuilder_ != null) {
         return effectiveTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -9853,6 +10686,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOr
       }
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9875,10 +10710,12 @@ public com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOr
      * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
      */
     public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBuilder() {
-      return getEffectiveTagsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.EffectiveTagDetails.getDefaultInstance());
+      return getEffectiveTagsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.EffectiveTagDetails.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9902,10 +10739,12 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBui
      */
     public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBuilder(
         int index) {
-      return getEffectiveTagsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.EffectiveTagDetails.getDefaultInstance());
+      return getEffectiveTagsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.EffectiveTagDetails.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The effective tags on this resource. All of the tags that are both attached
      * to and inherited by a resource are collectively called the effective
@@ -9927,16 +10766,22 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBui
      *
      * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
      */
-    public java.util.List 
-         getEffectiveTagsBuilderList() {
+    public java.util.List
+        getEffectiveTagsBuilderList() {
       return getEffectiveTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.EffectiveTagDetails, com.google.cloud.asset.v1.EffectiveTagDetails.Builder, com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder> 
+            com.google.cloud.asset.v1.EffectiveTagDetails,
+            com.google.cloud.asset.v1.EffectiveTagDetails.Builder,
+            com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>
         getEffectiveTagsFieldBuilder() {
       if (effectiveTagsBuilder_ == null) {
-        effectiveTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.EffectiveTagDetails, com.google.cloud.asset.v1.EffectiveTagDetails.Builder, com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>(
+        effectiveTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.EffectiveTagDetails,
+                com.google.cloud.asset.v1.EffectiveTagDetails.Builder,
+                com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>(
                 effectiveTags_,
                 ((bitField0_ & 0x01000000) != 0),
                 getParentForChildren(),
@@ -9948,6 +10793,8 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBui
 
     private java.lang.Object parentAssetType_ = "";
     /**
+     *
+     *
      * 
      * The type of this resource's immediate parent, if there is one.
      *
@@ -9960,13 +10807,13 @@ public com.google.cloud.asset.v1.EffectiveTagDetails.Builder addEffectiveTagsBui
      * 
* * 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; @@ -9975,6 +10822,8 @@ public java.lang.String getParentAssetType() { } } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      *
@@ -9987,15 +10836,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 { @@ -10003,6 +10851,8 @@ public java.lang.String getParentAssetType() { } } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      *
@@ -10015,18 +10865,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_ |= 0x02000000; onChanged(); return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      *
@@ -10039,6 +10893,7 @@ public Builder setParentAssetType(
      * 
* * string parent_asset_type = 103; + * * @return This builder for chaining. */ public Builder clearParentAssetType() { @@ -10048,6 +10903,8 @@ public Builder clearParentAssetType() { return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      *
@@ -10060,12 +10917,14 @@ 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_ |= 0x02000000; @@ -10073,8 +10932,8 @@ public Builder setParentAssetTypeBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> sccSecurityMarks_; + private com.google.protobuf.MapField sccSecurityMarks_; + private com.google.protobuf.MapField internalGetSccSecurityMarks() { if (sccSecurityMarks_ == null) { @@ -10083,11 +10942,13 @@ public Builder setParentAssetTypeBytes( } return sccSecurityMarks_; } + private com.google.protobuf.MapField internalGetMutableSccSecurityMarks() { if (sccSecurityMarks_ == null) { - sccSecurityMarks_ = com.google.protobuf.MapField.newMapField( - SccSecurityMarksDefaultEntryHolder.defaultEntry); + sccSecurityMarks_ = + com.google.protobuf.MapField.newMapField( + SccSecurityMarksDefaultEntryHolder.defaultEntry); } if (!sccSecurityMarks_.isMutable()) { sccSecurityMarks_ = sccSecurityMarks_.copy(); @@ -10096,10 +10957,13 @@ public Builder setParentAssetTypeBytes( onChanged(); return sccSecurityMarks_; } + public int getSccSecurityMarksCount() { return internalGetSccSecurityMarks().getMap().size(); } /** + * + * *
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10115,20 +10979,21 @@ public int getSccSecurityMarksCount() {
      * map<string, string> scc_security_marks = 32;
      */
     @java.lang.Override
-    public boolean containsSccSecurityMarks(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsSccSecurityMarks(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetSccSecurityMarks().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getSccSecurityMarksMap()} instead.
-     */
+    /** Use {@link #getSccSecurityMarksMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSccSecurityMarks() {
       return getSccSecurityMarksMap();
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10148,6 +11013,8 @@ public java.util.Map getSccSecurityMarksMap(
       return internalGetSccSecurityMarks().getMap();
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10163,17 +11030,20 @@ public java.util.Map getSccSecurityMarksMap(
      * map<string, string> scc_security_marks = 32;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getSccSecurityMarksOrDefault(
+    public /* nullable */ java.lang.String getSccSecurityMarksOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetSccSecurityMarks().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10189,9 +11059,10 @@ java.lang.String getSccSecurityMarksOrDefault(
      * map<string, string> scc_security_marks = 32;
      */
     @java.lang.Override
-    public java.lang.String getSccSecurityMarksOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getSccSecurityMarksOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetSccSecurityMarks().getMap();
       if (!map.containsKey(key)) {
@@ -10199,13 +11070,15 @@ public java.lang.String getSccSecurityMarksOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearSccSecurityMarks() {
       bitField0_ = (bitField0_ & ~0x04000000);
-      internalGetMutableSccSecurityMarks().getMutableMap()
-          .clear();
+      internalGetMutableSccSecurityMarks().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10220,23 +11093,22 @@ public Builder clearSccSecurityMarks() {
      *
      * map<string, string> scc_security_marks = 32;
      */
-    public Builder removeSccSecurityMarks(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableSccSecurityMarks().getMutableMap()
-          .remove(key);
+    public Builder removeSccSecurityMarks(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableSccSecurityMarks().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableSccSecurityMarks() {
+    public java.util.Map getMutableSccSecurityMarks() {
       bitField0_ |= 0x04000000;
       return internalGetMutableSccSecurityMarks().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10251,17 +11123,20 @@ public Builder removeSccSecurityMarks(
      *
      * map<string, string> scc_security_marks = 32;
      */
-    public Builder putSccSecurityMarks(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableSccSecurityMarks().getMutableMap()
-          .put(key, value);
+    public Builder putSccSecurityMarks(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableSccSecurityMarks().getMutableMap().put(key, value);
       bitField0_ |= 0x04000000;
       return this;
     }
     /**
+     *
+     *
      * 
      * The actual content of Security Command Center security marks associated
      * with the asset.
@@ -10278,14 +11153,13 @@ public Builder putSccSecurityMarks(
      */
     public Builder putAllSccSecurityMarks(
         java.util.Map values) {
-      internalGetMutableSccSecurityMarks().getMutableMap()
-          .putAll(values);
+      internalGetMutableSccSecurityMarks().getMutableMap().putAll(values);
       bitField0_ |= 0x04000000;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -10295,12 +11169,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();
   }
@@ -10309,27 +11183,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;
@@ -10344,6 +11218,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 90%
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 4ee8d2b1ec1c..f9f568095b02 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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`.
@@ -22,10 +40,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`.
@@ -40,12 +61,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`.
    *
@@ -55,10 +78,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`.
    *
@@ -68,12 +94,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
@@ -87,10 +115,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
@@ -104,12 +135,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
@@ -123,11 +156,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
@@ -141,10 +176,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
@@ -158,11 +196,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
@@ -176,13 +217,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
@@ -196,10 +239,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
@@ -213,12 +259,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.
@@ -230,10 +278,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.
@@ -245,12 +296,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
@@ -263,10 +316,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
@@ -279,12 +335,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
@@ -297,10 +355,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
@@ -313,12 +374,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
@@ -339,6 +402,8 @@ public interface ResourceSearchResultOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -357,15 +422,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
@@ -384,9 +447,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
@@ -406,11 +470,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
@@ -429,10 +495,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
@@ -448,11 +515,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
@@ -468,10 +537,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
@@ -487,11 +559,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
@@ -507,13 +582,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)
@@ -535,12 +612,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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)
@@ -562,14 +643,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=468 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.kms_key is deprecated. See + * google/cloud/asset/v1/assets.proto;l=468 * @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)
@@ -585,11 +669,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)
@@ -605,10 +691,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)
@@ -624,11 +713,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)
@@ -644,13 +736,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
@@ -666,10 +760,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
@@ -685,10 +782,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
@@ -708,6 +808,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
@@ -724,10 +826,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
@@ -744,10 +849,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
@@ -768,6 +876,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
@@ -792,10 +902,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
@@ -820,12 +933,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,
@@ -849,10 +964,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,
@@ -876,10 +994,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,
@@ -907,6 +1028,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`:
@@ -918,10 +1041,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`:
@@ -933,12 +1059,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
@@ -951,9 +1079,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
@@ -968,6 +1097,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
@@ -982,6 +1113,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
@@ -994,9 +1127,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
@@ -1009,10 +1144,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
@@ -1025,9 +1161,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
@@ -1042,6 +1179,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
@@ -1056,6 +1195,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
@@ -1068,9 +1209,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
@@ -1083,10 +1226,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
@@ -1100,6 +1244,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
@@ -1111,15 +1257,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
@@ -1131,9 +1275,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
@@ -1146,11 +1291,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
@@ -1162,10 +1309,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);
 
   /**
+   *
+   *
    * 
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1183,13 +1331,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return A list containing the tagKeys. */ - @java.lang.Deprecated java.util.List - getTagKeysList(); + @java.lang.Deprecated + java.util.List getTagKeysList(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1207,12 +1358,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @return The count of tagKeys. */ - @java.lang.Deprecated int getTagKeysCount(); + @java.lang.Deprecated + int getTagKeysCount(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1230,13 +1385,17 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the element to return. * @return The tagKeys at the given index. */ - @java.lang.Deprecated java.lang.String getTagKeys(int index); + @java.lang.Deprecated + java.lang.String getTagKeys(int index); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1254,15 +1413,18 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. - * See google/cloud/asset/v1/assets.proto;l=601 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_keys is deprecated. See + * google/cloud/asset/v1/assets.proto;l=601 * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getTagKeysBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getTagKeysBytes(int index); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1282,13 +1444,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return A list containing the tagValues. */ - @java.lang.Deprecated java.util.List - getTagValuesList(); + @java.lang.Deprecated + java.util.List getTagValuesList(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1308,12 +1473,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @return The count of tagValues. */ - @java.lang.Deprecated int getTagValuesCount(); + @java.lang.Deprecated + int getTagValuesCount(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1333,13 +1502,17 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the element to return. * @return The tagValues at the given index. */ - @java.lang.Deprecated java.lang.String getTagValues(int index); + @java.lang.Deprecated + java.lang.String getTagValues(int index); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1359,15 +1532,18 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. - * See google/cloud/asset/v1/assets.proto;l=618 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_values is deprecated. See + * google/cloud/asset/v1/assets.proto;l=618 * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getTagValuesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getTagValuesBytes(int index); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1383,13 +1559,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return A list containing the tagValueIds. */ - @java.lang.Deprecated java.util.List - getTagValueIdsList(); + @java.lang.Deprecated + java.util.List getTagValueIdsList(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1405,12 +1584,16 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @return The count of tagValueIds. */ - @java.lang.Deprecated int getTagValueIdsCount(); + @java.lang.Deprecated + int getTagValueIdsCount(); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1426,13 +1609,17 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the element to return. * @return The tagValueIds at the given index. */ - @java.lang.Deprecated java.lang.String getTagValueIds(int index); + @java.lang.Deprecated + java.lang.String getTagValueIds(int index); /** + * + * *
    * This field is only present for the purpose of backward compatibility.
    * Use the `tags` field instead.
@@ -1448,15 +1635,18 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26 [deprecated = true]; - * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. - * See google/cloud/asset/v1/assets.proto;l=631 + * + * @deprecated google.cloud.asset.v1.ResourceSearchResult.tag_value_ids is deprecated. See + * google/cloud/asset/v1/assets.proto;l=631 * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getTagValueIdsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getTagValueIdsBytes(int index); /** + * + * *
    * The tags directly attached to this resource.
    *
@@ -1478,9 +1668,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    *
    * repeated .google.cloud.asset.v1.Tag tags = 29;
    */
-  java.util.List 
-      getTagsList();
+  java.util.List getTagsList();
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -1504,6 +1695,8 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    */
   com.google.cloud.asset.v1.Tag getTags(int index);
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -1527,6 +1720,8 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -1548,9 +1743,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    *
    * repeated .google.cloud.asset.v1.Tag tags = 29;
    */
-  java.util.List 
-      getTagsOrBuilderList();
+  java.util.List getTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * The tags directly attached to this resource.
    *
@@ -1572,10 +1768,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    *
    * repeated .google.cloud.asset.v1.Tag tags = 29;
    */
-  com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -1597,9 +1794,10 @@ com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
    *
    * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
    */
-  java.util.List 
-      getEffectiveTagsList();
+  java.util.List getEffectiveTagsList();
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -1623,6 +1821,8 @@ com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
    */
   com.google.cloud.asset.v1.EffectiveTagDetails getEffectiveTags(int index);
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -1646,6 +1846,8 @@ com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
    */
   int getEffectiveTagsCount();
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -1667,9 +1869,11 @@ com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
    *
    * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
    */
-  java.util.List 
+  java.util.List
       getEffectiveTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * The effective tags on this resource. All of the tags that are both attached
    * to and inherited by a resource are collectively called the effective
@@ -1691,10 +1895,11 @@ com.google.cloud.asset.v1.TagOrBuilder getTagsOrBuilder(
    *
    * repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
    */
-  com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The type of this resource's immediate parent, if there is one.
    *
@@ -1707,10 +1912,13 @@ com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder
    * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ java.lang.String getParentAssetType(); /** + * + * *
    * The type of this resource's immediate parent, if there is one.
    *
@@ -1723,12 +1931,14 @@ com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder
    * 
* * string parent_asset_type = 103; + * * @return The bytes for parentAssetType. */ - com.google.protobuf.ByteString - getParentAssetTypeBytes(); + com.google.protobuf.ByteString getParentAssetTypeBytes(); /** + * + * *
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -1745,6 +1955,8 @@ com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder
    */
   int getSccSecurityMarksCount();
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -1759,15 +1971,13 @@ com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder
    *
    * map<string, string> scc_security_marks = 32;
    */
-  boolean containsSccSecurityMarks(
-      java.lang.String key);
-  /**
-   * Use {@link #getSccSecurityMarksMap()} instead.
-   */
+  boolean containsSccSecurityMarks(java.lang.String key);
+  /** Use {@link #getSccSecurityMarksMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getSccSecurityMarks();
+  java.util.Map getSccSecurityMarks();
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -1782,9 +1992,10 @@ boolean containsSccSecurityMarks(
    *
    * map<string, string> scc_security_marks = 32;
    */
-  java.util.Map
-  getSccSecurityMarksMap();
+  java.util.Map getSccSecurityMarksMap();
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -1800,11 +2011,13 @@ boolean containsSccSecurityMarks(
    * map<string, string> scc_security_marks = 32;
    */
   /* nullable */
-java.lang.String getSccSecurityMarksOrDefault(
+  java.lang.String getSccSecurityMarksOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The actual content of Security Command Center security marks associated
    * with the asset.
@@ -1819,6 +2032,5 @@ java.lang.String getSccSecurityMarksOrDefault(
    *
    * map<string, string> scc_security_marks = 32;
    */
-  java.lang.String getSccSecurityMarksOrThrow(
-      java.lang.String key);
+  java.lang.String getSccSecurityMarksOrThrow(java.lang.String key);
 }
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 afe661215eb0..55c2c2d17a75 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,41 +46,44 @@ private SavedQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SavedQuery(); } - 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
@@ -73,10 +94,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
@@ -87,10 +111,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
@@ -107,53 +134,60 @@ public interface QueryContentOrBuilder extends
     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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -169,24 +203,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
@@ -197,6 +235,7 @@ public int getNumber() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -204,6 +243,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -214,16 +255,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
@@ -236,14 +280,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;
@@ -255,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 (queryContentCase_ == 1) {
         output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
@@ -270,8 +315,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;
@@ -281,18 +327,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:
@@ -322,89 +368,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
@@ -414,39 +464,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(); @@ -460,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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 @@ -481,8 +533,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; @@ -495,8 +550,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(); } } @@ -505,38 +559,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; @@ -544,15 +601,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(); @@ -580,19 +640,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) { @@ -602,12 +663,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() { @@ -620,8 +681,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
@@ -632,6 +698,7 @@ public Builder clearQueryContent() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -639,6 +706,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -649,6 +718,7 @@ public boolean hasIamPolicyAnalysisQuery() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override @@ -666,6 +736,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer } } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -677,7 +749,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();
@@ -691,6 +764,8 @@ public Builder setIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnal
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -714,6 +789,8 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -725,12 +802,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;
           }
@@ -746,6 +828,8 @@ public Builder mergeIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAn
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -774,6 +858,8 @@ public Builder clearIamPolicyAnalysisQuery() {
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -785,10 +871,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
@@ -801,7 +890,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 {
@@ -812,6 +902,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAna
         }
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -824,14 +916,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());
@@ -841,6 +938,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) {
@@ -853,12 +951,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();
     }
@@ -867,27 +965,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;
@@ -902,13 +1001,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:
    *
@@ -918,6 +1019,7 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForTy
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -926,14 +1028,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:
    *
@@ -943,16 +1046,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 { @@ -961,15 +1063,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 @@ -978,30 +1084,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 { @@ -1012,11 +1118,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 @@ -1024,11 +1134,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 @@ -1036,11 +1150,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() { @@ -1048,14 +1165,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 @@ -1064,29 +1185,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 { @@ -1097,11 +1218,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 @@ -1109,39 +1235,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 @@ -1150,30 +1293,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 { @@ -1182,32 +1325,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
@@ -1217,20 +1362,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
@@ -1244,6 +1390,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
@@ -1253,17 +1401,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
@@ -1273,11 +1423,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();
     }
@@ -1287,11 +1437,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 @@ -1299,18 +1452,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.
    * 
@@ -1319,10 +1479,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; @@ -1334,8 +1497,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1354,12 +1516,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()); } @@ -1379,32 +1537,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; @@ -1414,37 +1569,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; @@ -1486,154 +1633,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(); @@ -1662,9 +1810,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 @@ -1684,7 +1832,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; } @@ -1698,17 +1848,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_; @@ -1718,9 +1865,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(); } } @@ -1728,38 +1873,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; @@ -1794,8 +1940,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()); @@ -1826,62 +1971,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) { @@ -1891,10 +2041,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:
      *
@@ -1904,13 +2057,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; @@ -1919,6 +2072,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      *
@@ -1928,15 +2083,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 { @@ -1944,6 +2098,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      *
@@ -1953,18 +2109,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:
      *
@@ -1974,6 +2134,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1983,6 +2144,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the saved query. The format must be:
      *
@@ -1992,12 +2155,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; @@ -2007,19 +2172,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; @@ -2028,21 +2195,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 { @@ -2050,30 +2218,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() { @@ -2083,18 +2258,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; @@ -2104,39 +2283,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) { @@ -2152,14 +2350,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 { @@ -2170,17 +2371,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; @@ -2193,11 +2398,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); @@ -2210,11 +2419,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; @@ -2222,36 +2435,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_; @@ -2259,18 +2484,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; @@ -2279,20 +2506,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 { @@ -2300,28 +2528,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() { @@ -2331,17 +2566,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; @@ -2351,39 +2590,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) { @@ -2399,14 +2657,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 { @@ -2417,17 +2678,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; @@ -2440,11 +2705,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); @@ -2457,11 +2726,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; @@ -2469,36 +2742,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_; @@ -2506,19 +2791,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; @@ -2527,21 +2814,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 { @@ -2549,30 +2837,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() { @@ -2582,18 +2877,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; @@ -2601,21 +2900,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(); @@ -2624,10 +2921,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
@@ -2637,20 +2937,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
@@ -2664,6 +2965,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
@@ -2673,17 +2976,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
@@ -2693,23 +2998,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
@@ -2718,23 +3025,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
@@ -2743,17 +3049,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
@@ -2762,44 +3071,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.
      * 
@@ -2820,6 +3140,8 @@ public Builder setContent(com.google.cloud.asset.v1.SavedQuery.QueryContent valu return this; } /** + * + * *
      * The query content.
      * 
@@ -2838,6 +3160,8 @@ public Builder setContent( return this; } /** + * + * *
      * The query content.
      * 
@@ -2846,9 +3170,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; @@ -2861,6 +3185,8 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va return this; } /** + * + * *
      * The query content.
      * 
@@ -2878,6 +3204,8 @@ public Builder clearContent() { return this; } /** + * + * *
      * The query content.
      * 
@@ -2890,6 +3218,8 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder getContentBuild return getContentFieldBuilder().getBuilder(); } /** + * + * *
      * The query content.
      * 
@@ -2900,11 +3230,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.
      * 
@@ -2912,21 +3245,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); } @@ -2936,12 +3272,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(); } @@ -2950,27 +3286,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; @@ -2985,6 +3321,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 4bc4f57ea2cb..34d3a3ea3ba3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
    *
@@ -17,10 +35,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:
    *
@@ -30,130 +51,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
@@ -164,6 +227,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
@@ -172,15 +237,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
@@ -189,9 +252,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
@@ -201,11 +265,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
@@ -214,28 +280,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 6aa3ec2864aa..4fbf2bb28013 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,57 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; pageToken_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } - 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
@@ -68,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -76,14 +98,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 +123,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 +140,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)
@@ -167,6 +192,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -175,14 +201,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)
@@ -229,16 +256,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 { @@ -249,6 +275,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 or a negative value,
@@ -258,6 +286,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -266,9 +295,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`
@@ -277,6 +309,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -285,14 +318,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`
@@ -301,16 +335,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 { @@ -319,10 +352,13 @@ public java.lang.String getPageToken() { } public static final int ASSET_TYPES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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
@@ -344,13 +380,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
@@ -372,12 +410,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
@@ -399,6 +440,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. */ @@ -406,6 +448,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
@@ -427,18 +471,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
@@ -453,6 +500,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -461,14 +509,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
@@ -483,16 +532,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 { @@ -501,6 +549,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,8 +561,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -548,8 +596,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_); @@ -573,25 +620,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; } @@ -623,131 +665,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(); @@ -756,16 +803,15 @@ public Builder clear() { query_ = ""; pageSize_ = 0; pageToken_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); orderBy_ = ""; return this; } @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 @@ -784,8 +830,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result = + new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -817,38 +866,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; @@ -856,7 +906,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; @@ -916,43 +967,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) { @@ -962,10 +1020,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
@@ -982,13 +1043,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; @@ -997,6 +1058,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
@@ -1013,15 +1076,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 { @@ -1029,6 +1091,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
@@ -1045,18 +1109,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
@@ -1073,6 +1141,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1082,6 +1151,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
@@ -1098,12 +1169,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; @@ -1113,6 +1186,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)
@@ -1159,13 +1234,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; @@ -1174,6 +1249,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)
@@ -1220,15 +1297,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 { @@ -1236,6 +1312,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)
@@ -1282,18 +1360,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)
@@ -1340,6 +1422,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1349,6 +1432,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)
@@ -1395,12 +1480,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; @@ -1408,8 +1495,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 or a negative value,
@@ -1419,6 +1508,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1426,6 +1516,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 or a negative value,
@@ -1435,6 +1527,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1446,6 +1539,8 @@ public Builder setPageSize(int value) { 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 or a negative value,
@@ -1455,6 +1550,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1466,6 +1562,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`
@@ -1474,13 +1572,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; @@ -1489,6 +1587,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`
@@ -1497,15 +1597,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 { @@ -1513,6 +1612,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`
@@ -1521,18 +1622,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`
@@ -1541,6 +1646,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1550,6 +1656,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`
@@ -1558,12 +1666,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; @@ -1573,6 +1683,7 @@ public Builder setPageTokenBytes( private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetTypesIsMutable() { if (!assetTypes_.isModifiable()) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); @@ -1580,6 +1691,8 @@ private void ensureAssetTypesIsMutable() { 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
@@ -1601,14 +1714,16 @@ 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() { assetTypes_.makeImmutable(); 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
@@ -1630,12 +1745,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
@@ -1657,6 +1775,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. */ @@ -1664,6 +1783,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
@@ -1685,14 +1806,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
@@ -1714,13 +1837,15 @@ 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); bitField0_ |= 0x00000010; @@ -1728,6 +1853,8 @@ public Builder setAssetTypes( 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
@@ -1749,12 +1876,14 @@ 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); bitField0_ |= 0x00000010; @@ -1762,6 +1891,8 @@ public Builder addAssetTypes( 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
@@ -1783,19 +1914,20 @@ 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_); bitField0_ |= 0x00000010; 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
@@ -1817,16 +1949,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; 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
@@ -1848,12 +1983,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); @@ -1864,6 +2001,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
@@ -1878,13 +2017,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; @@ -1893,6 +2032,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
@@ -1907,15 +2048,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 { @@ -1923,6 +2063,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
@@ -1937,18 +2079,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
@@ -1963,6 +2109,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1972,6 +2119,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
@@ -1986,21 +2135,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); } @@ -2010,12 +2161,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(); } @@ -2024,27 +2175,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; @@ -2059,6 +2210,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 976d5395892b..e9e61306f034 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -24,10 +42,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
@@ -44,12 +65,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)
@@ -96,10 +119,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)
@@ -146,12 +172,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 or a negative value,
@@ -161,11 +189,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`
@@ -174,10 +205,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`
@@ -186,12 +220,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
@@ -213,11 +249,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
@@ -239,10 +277,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
@@ -264,11 +305,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
@@ -290,13 +334,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
@@ -311,10 +357,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
@@ -329,8 +378,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 814bb5fe6077..a6a283f8caed 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } - 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.
@@ -60,6 +82,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.
@@ -68,11 +92,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.
@@ -85,6 +111,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.
@@ -97,6 +125,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.
@@ -105,15 +135,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
@@ -121,6 +153,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +162,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
@@ -144,16 +178,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 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -191,8 +224,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 +237,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; } @@ -239,131 +270,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(); @@ -380,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_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 @@ -401,14 +437,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_); @@ -431,38 +471,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; @@ -470,7 +511,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()) { @@ -489,9 +531,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_); } @@ -528,30 +571,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) { @@ -561,21 +607,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.
@@ -591,6 +645,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.
@@ -606,6 +662,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.
@@ -621,6 +679,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.
@@ -628,8 +688,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();
@@ -643,6 +702,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.
@@ -662,6 +723,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.
@@ -683,6 +746,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.
@@ -690,8 +755,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();
@@ -705,6 +769,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.
@@ -724,6 +790,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.
@@ -743,6 +811,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,8 +824,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);
@@ -763,6 +832,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.
@@ -781,6 +852,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.
@@ -799,6 +872,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.
@@ -806,11 +881,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.
@@ -818,14 +894,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.
@@ -833,8 +911,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 {
@@ -842,6 +920,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.
@@ -850,10 +930,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.
@@ -861,12 +943,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.
@@ -874,20 +957,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_;
@@ -895,6 +981,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
@@ -902,13 +990,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; @@ -917,6 +1005,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
@@ -924,15 +1014,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 { @@ -940,6 +1029,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -947,18 +1038,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
@@ -966,6 +1061,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -975,6 +1071,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
@@ -982,21 +1080,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); } @@ -1006,12 +1106,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(); } @@ -1020,27 +1120,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; @@ -1055,6 +1155,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..d5d11e3b9a90 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 87% 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 94df8d24b410..a8e503ff85d9 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,57 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } - 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
@@ -68,6 +89,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -76,14 +98,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 +123,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 +140,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)
@@ -205,6 +230,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -213,14 +239,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)
@@ -305,16 +332,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 { @@ -323,10 +349,13 @@ public java.lang.String getQuery() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -345,13 +374,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -370,12 +401,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
@@ -394,6 +428,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. */ @@ -401,6 +436,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
@@ -419,17 +456,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 or a negative value,
@@ -439,6 +478,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -447,9 +487,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
@@ -458,6 +501,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -466,14 +510,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
@@ -482,16 +527,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 { @@ -500,9 +544,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
@@ -524,6 +571,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -532,14 +580,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
@@ -561,16 +610,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 { @@ -581,6 +629,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 that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -615,7 +665,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 @@ -623,6 +675,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. A comma-separated list of fields that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -657,7 +711,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 @@ -665,6 +721,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. A comma-separated list of fields that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -699,7 +757,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() { @@ -707,6 +766,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -718,8 +778,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -765,8 +824,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_); @@ -775,8 +833,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; @@ -786,29 +843,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; @@ -845,139 +896,142 @@ 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(); bitField0_ = 0; scope_ = ""; query_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageSize_ = 0; pageToken_ = ""; orderBy_ = ""; @@ -990,9 +1044,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 @@ -1011,8 +1065,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1.SearchAllResourcesRequest result = + new com.google.cloud.asset.v1.SearchAllResourcesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1039,9 +1096,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(); } } @@ -1049,38 +1104,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; @@ -1088,7 +1144,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; @@ -1151,50 +1208,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) { @@ -1204,10 +1267,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
@@ -1224,13 +1290,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,6 +1305,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
@@ -1255,15 +1323,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 { @@ -1271,6 +1338,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
@@ -1287,18 +1356,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
@@ -1315,6 +1388,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1324,6 +1398,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
@@ -1340,12 +1416,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; @@ -1355,6 +1433,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)
@@ -1439,13 +1519,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; @@ -1454,6 +1534,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)
@@ -1538,15 +1620,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 { @@ -1554,6 +1635,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)
@@ -1638,18 +1721,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)
@@ -1734,6 +1821,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -1743,6 +1831,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)
@@ -1827,12 +1917,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; @@ -1842,6 +1934,7 @@ public Builder setQueryBytes( private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetTypesIsMutable() { if (!assetTypes_.isModifiable()) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); @@ -1849,6 +1942,8 @@ private void ensureAssetTypesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1867,14 +1962,16 @@ 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() { assetTypes_.makeImmutable(); return assetTypes_; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1893,12 +1990,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
@@ -1917,6 +2017,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. */ @@ -1924,6 +2025,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
@@ -1942,14 +2045,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
@@ -1968,13 +2073,15 @@ 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); bitField0_ |= 0x00000004; @@ -1982,6 +2089,8 @@ public Builder setAssetTypes( return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -2000,12 +2109,14 @@ 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); bitField0_ |= 0x00000004; @@ -2013,6 +2124,8 @@ public Builder addAssetTypes( return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -2031,19 +2144,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -2062,16 +2176,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -2090,12 +2207,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); @@ -2104,8 +2223,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 or a negative value,
@@ -2115,6 +2236,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2122,6 +2244,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 or a negative value,
@@ -2131,6 +2255,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -2142,6 +2267,8 @@ public Builder setPageSize(int value) { 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 or a negative value,
@@ -2151,6 +2278,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -2162,6 +2290,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
@@ -2170,13 +2300,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; @@ -2185,6 +2315,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
@@ -2193,15 +2325,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 { @@ -2209,6 +2340,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
@@ -2217,18 +2350,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
@@ -2237,6 +2374,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2246,6 +2384,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
@@ -2254,12 +2394,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; @@ -2269,6 +2411,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
@@ -2290,13 +2434,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; @@ -2305,6 +2449,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
@@ -2326,15 +2472,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 { @@ -2342,6 +2487,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
@@ -2363,18 +2510,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
@@ -2396,6 +2547,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -2405,6 +2557,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
@@ -2426,12 +2580,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; @@ -2441,8 +2597,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 that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2477,13 +2638,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 that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2518,7 +2683,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() { @@ -2529,6 +2696,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2563,7 +2732,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) { @@ -2579,6 +2749,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2613,10 +2785,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 { @@ -2627,6 +2799,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2661,13 +2835,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; @@ -2680,6 +2855,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2714,7 +2891,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); @@ -2727,6 +2905,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2761,7 +2941,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; @@ -2769,6 +2950,8 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. A comma-separated list of fields that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2803,17 +2986,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 that you want returned in the
      * results. The following fields are returned by default if not specified:
@@ -2848,24 +3033,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); } @@ -2875,12 +3064,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(); } @@ -2889,27 +3078,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; @@ -2924,6 +3113,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 94% 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 a627c747789b..d3fd1af09655 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -24,10 +42,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
@@ -44,12 +65,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)
@@ -134,10 +157,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)
@@ -222,12 +248,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
@@ -246,11 +274,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
@@ -269,10 +299,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
@@ -291,11 +324,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
@@ -314,13 +350,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 or a negative value,
@@ -330,11 +368,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
@@ -343,10 +384,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
@@ -355,12 +399,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
@@ -382,10 +428,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
@@ -407,12 +456,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 that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -447,11 +498,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 that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -486,11 +541,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 that you want returned in the
    * results. The following fields are returned by default if not specified:
@@ -525,7 +584,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 ca8f9122c824..d115ea143996 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } - 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.
@@ -60,6 +82,8 @@ public java.util.List getResults
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -68,11 +92,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.
@@ -85,6 +111,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -97,6 +125,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.
@@ -105,15 +135,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
@@ -121,6 +153,7 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +162,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 +178,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 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -191,8 +224,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 +237,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; } @@ -239,131 +270,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(); @@ -380,9 +415,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 @@ -401,14 +436,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_); @@ -431,38 +470,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; @@ -470,7 +510,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()) { @@ -489,9 +530,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_); } @@ -528,30 +570,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) { @@ -561,21 +605,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.
@@ -591,6 +643,8 @@ public java.util.List getResults
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -606,6 +660,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -621,6 +677,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.
@@ -628,8 +686,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();
@@ -643,6 +700,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -662,6 +721,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -683,6 +744,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.
@@ -690,8 +753,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();
@@ -705,6 +767,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -724,6 +788,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -743,6 +809,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -754,8 +822,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);
@@ -763,6 +830,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -781,6 +850,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -799,6 +870,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -806,11 +879,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.
@@ -818,14 +892,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.
@@ -833,8 +909,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 {
@@ -842,6 +918,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.
@@ -850,10 +928,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.
@@ -861,12 +941,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.
@@ -874,20 +955,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_;
@@ -895,6 +979,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
@@ -902,13 +988,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; @@ -917,6 +1003,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
@@ -924,15 +1012,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 { @@ -940,6 +1027,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
@@ -947,18 +1036,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
@@ -966,6 +1059,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -975,6 +1069,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
@@ -982,21 +1078,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); } @@ -1006,12 +1104,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(); } @@ -1020,27 +1118,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; @@ -1055,6 +1153,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..728b3f4130b4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 9869cac0b7b8..771b7a7f1ed1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +46,32 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableFieldSchema(); } - 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
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string field = 1; + * * @return The field. */ @java.lang.Override @@ -65,14 +88,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
@@ -80,16 +104,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 { @@ -98,9 +121,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
@@ -120,6 +146,7 @@ public java.lang.String getField() {
    * 
* * string type = 2; + * * @return The type. */ @java.lang.Override @@ -128,14 +155,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
@@ -155,16 +183,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 { @@ -173,15 +200,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 @@ -190,30 +221,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 { @@ -222,9 +253,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.
@@ -237,6 +271,8 @@ public java.util.List getFieldsList(
     return fields_;
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -245,11 +281,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.
@@ -262,6 +300,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * Describes the nested schema fields if the type property is set
    * to RECORD.
@@ -274,6 +314,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.
@@ -282,12 +324,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;
@@ -299,8 +341,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -332,8 +373,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;
@@ -343,21 +383,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;
   }
@@ -384,132 +421,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(); @@ -528,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_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 @@ -549,9 +590,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; } @@ -585,38 +629,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; @@ -658,9 +703,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_); } @@ -692,40 +738,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) { @@ -735,10 +785,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
@@ -746,13 +799,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; @@ -761,6 +814,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
@@ -768,15 +823,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 { @@ -784,6 +838,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
@@ -791,18 +847,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
@@ -810,6 +870,7 @@ public Builder setField(
      * 
* * string field = 1; + * * @return This builder for chaining. */ public Builder clearField() { @@ -819,6 +880,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
@@ -826,12 +889,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; @@ -841,6 +906,8 @@ public Builder setFieldBytes( private java.lang.Object type_ = ""; /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -860,13 +927,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; @@ -875,6 +942,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -894,15 +963,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 { @@ -910,6 +978,8 @@ public java.lang.String getType() { } } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -929,18 +999,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
@@ -960,6 +1034,7 @@ public Builder setType(
      * 
* * string type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -969,6 +1044,8 @@ public Builder clearType() { return this; } /** + * + * *
      * The field data type. Possible values include
      * * STRING
@@ -988,12 +1065,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; @@ -1003,19 +1082,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; @@ -1024,21 +1105,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 { @@ -1046,30 +1128,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() { @@ -1079,18 +1168,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; @@ -1099,18 +1192,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.
@@ -1126,6 +1225,8 @@ public java.util.List getFieldsList(
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1141,6 +1242,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1156,6 +1259,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1163,8 +1268,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();
@@ -1178,6 +1282,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1197,6 +1303,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1218,6 +1326,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.
@@ -1225,8 +1335,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();
@@ -1240,6 +1349,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1247,8 +1358,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());
@@ -1259,6 +1369,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1278,6 +1390,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1289,8 +1403,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);
@@ -1298,6 +1411,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1316,6 +1431,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1334,6 +1451,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1341,11 +1460,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.
@@ -1353,14 +1473,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.
@@ -1368,8 +1490,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 {
@@ -1377,6 +1499,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Describes the nested schema fields if the type property is set
      * to RECORD.
@@ -1385,10 +1509,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.
@@ -1396,12 +1522,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.
@@ -1409,27 +1536,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);
     }
 
@@ -1439,12 +1569,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();
   }
@@ -1453,27 +1583,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;
@@ -1488,6 +1618,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..1d1deb54bf3d 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 f92451ba1393..2ba24e5bc8bd 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,52 +1,74 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getFieldsList( return fields_; } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -65,11 +89,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.
    * 
@@ -81,6 +107,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.asset.v1.TableFieldSchema getFields(int index) { return fields_.get(index); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -99,12 +129,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; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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; @@ -142,15 +170,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; } @@ -171,132 +198,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(); @@ -312,9 +342,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 @@ -333,9 +363,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; } @@ -360,38 +393,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; @@ -418,9 +452,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_); } @@ -452,25 +487,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) { @@ -480,21 +516,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.
      * 
@@ -509,6 +552,8 @@ public java.util.List getFieldsList( } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -523,6 +568,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -537,14 +584,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(); @@ -558,6 +606,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -576,6 +626,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -596,14 +648,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(); @@ -617,14 +670,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()); @@ -635,6 +689,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -653,6 +709,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -663,8 +721,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); @@ -672,6 +729,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -689,6 +748,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -706,39 +767,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 { @@ -746,6 +812,8 @@ public com.google.cloud.asset.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -753,49 +821,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); } @@ -805,12 +879,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(); } @@ -819,27 +893,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; @@ -854,6 +928,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..eef424f12ed6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/Tag.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Tag.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/Tag.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Tag.java index 467bbd749704..73e8b4370544 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Tag.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * The key and value for a
  * [tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview),
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     tagKey_ = "";
     tagValue_ = "";
@@ -28,34 +46,38 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.asset.v1.Tag.class, com.google.cloud.asset.v1.Tag.Builder.class);
   }
 
   private int bitField0_;
   public static final int TAG_KEY_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object tagKey_ = "";
   /**
+   *
+   *
    * 
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return Whether the tagKey field is set. */ @java.lang.Override @@ -63,11 +85,14 @@ public boolean hasTagKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return The tagKey. */ @java.lang.Override @@ -76,29 +101,29 @@ public java.lang.String getTagKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagKey_ = s; return s; } } /** + * + * *
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return The bytes for tagKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagKeyBytes() { + public com.google.protobuf.ByteString getTagKeyBytes() { java.lang.Object ref = tagKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagKey_ = b; return b; } else { @@ -107,15 +132,19 @@ public java.lang.String getTagKey() { } public static final int TAG_VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tagValue_ = ""; /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return Whether the tagValue field is set. */ @java.lang.Override @@ -123,12 +152,15 @@ public boolean hasTagValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return The tagValue. */ @java.lang.Override @@ -137,30 +169,30 @@ public java.lang.String getTagValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagValue_ = s; return s; } } /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return The bytes for tagValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagValueBytes() { + public com.google.protobuf.ByteString getTagValueBytes() { java.lang.Object ref = tagValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagValue_ = b; return b; } else { @@ -169,14 +201,18 @@ public java.lang.String getTagValue() { } public static final int TAG_VALUE_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object tagValueId_ = ""; /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return Whether the tagValueId field is set. */ @java.lang.Override @@ -184,11 +220,14 @@ public boolean hasTagValueId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return The tagValueId. */ @java.lang.Override @@ -197,29 +236,29 @@ public java.lang.String getTagValueId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagValueId_ = s; return s; } } /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return The bytes for tagValueId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagValueIdBytes() { + public com.google.protobuf.ByteString getTagValueIdBytes() { java.lang.Object ref = tagValueId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagValueId_ = b; return b; } else { @@ -228,6 +267,7 @@ public java.lang.String getTagValueId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +279,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tagKey_); } @@ -276,7 +315,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.Tag)) { return super.equals(obj); @@ -285,18 +324,15 @@ public boolean equals(final java.lang.Object obj) { if (hasTagKey() != other.hasTagKey()) return false; if (hasTagKey()) { - if (!getTagKey() - .equals(other.getTagKey())) return false; + if (!getTagKey().equals(other.getTagKey())) return false; } if (hasTagValue() != other.hasTagValue()) return false; if (hasTagValue()) { - if (!getTagValue() - .equals(other.getTagValue())) return false; + if (!getTagValue().equals(other.getTagValue())) return false; } if (hasTagValueId() != other.hasTagValueId()) return false; if (hasTagValueId()) { - if (!getTagValueId() - .equals(other.getTagValueId())) return false; + if (!getTagValueId().equals(other.getTagValueId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -326,99 +362,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.Tag parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.Tag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.Tag parseFrom(java.io.InputStream input) throws 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.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.asset.v1.Tag 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.Tag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.asset.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.asset.v1.Tag 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.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 key and value for a
    * [tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview),
@@ -426,33 +466,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.Tag)
       com.google.cloud.asset.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.asset.v1.Tag.class, com.google.cloud.asset.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.Tag.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();
@@ -464,9 +502,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_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -486,7 +524,9 @@ public com.google.cloud.asset.v1.Tag build() {
     @java.lang.Override
     public com.google.cloud.asset.v1.Tag buildPartial() {
       com.google.cloud.asset.v1.Tag result = new com.google.cloud.asset.v1.Tag(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.asset.v1.Tag 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.Tag) {
-        return mergeFrom((com.google.cloud.asset.v1.Tag)other);
+        return mergeFrom((com.google.cloud.asset.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -594,27 +635,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              tagKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              tagValue_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 34: {
-              tagValueId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                tagKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                tagValue_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 34:
+              {
+                tagValueId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                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) {
@@ -624,33 +669,39 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object tagKey_ = "";
     /**
+     *
+     *
      * 
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @return Whether the tagKey field is set. */ public boolean hasTagKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @return The tagKey. */ public java.lang.String getTagKey() { java.lang.Object ref = tagKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagKey_ = s; return s; @@ -659,20 +710,21 @@ public java.lang.String getTagKey() { } } /** + * + * *
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @return The bytes for tagKey. */ - public com.google.protobuf.ByteString - getTagKeyBytes() { + public com.google.protobuf.ByteString getTagKeyBytes() { java.lang.Object ref = tagKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagKey_ = b; return b; } else { @@ -680,28 +732,35 @@ public java.lang.String getTagKey() { } } /** + * + * *
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @param value The tagKey to set. * @return This builder for chaining. */ - public Builder setTagKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @return This builder for chaining. */ public Builder clearTagKey() { @@ -711,17 +770,21 @@ public Builder clearTagKey() { return this; } /** + * + * *
      * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * 
* * optional string tag_key = 1; + * * @param value The bytes for tagKey to set. * @return This builder for chaining. */ - public Builder setTagKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagKey_ = value; bitField0_ |= 0x00000001; @@ -731,31 +794,36 @@ public Builder setTagKeyBytes( private java.lang.Object tagValue_ = ""; /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @return Whether the tagValue field is set. */ public boolean hasTagValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @return The tagValue. */ public java.lang.String getTagValue() { java.lang.Object ref = tagValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagValue_ = s; return s; @@ -764,21 +832,22 @@ public java.lang.String getTagValue() { } } /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @return The bytes for tagValue. */ - public com.google.protobuf.ByteString - getTagValueBytes() { + public com.google.protobuf.ByteString getTagValueBytes() { java.lang.Object ref = tagValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagValue_ = b; return b; } else { @@ -786,30 +855,37 @@ public java.lang.String getTagValue() { } } /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @param value The tagValue to set. * @return This builder for chaining. */ - public Builder setTagValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @return This builder for chaining. */ public Builder clearTagValue() { @@ -819,18 +895,22 @@ public Builder clearTagValue() { return this; } /** + * + * *
      * TagValue namespaced name, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
      * 
* * optional string tag_value = 3; + * * @param value The bytes for tagValue to set. * @return This builder for chaining. */ - public Builder setTagValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagValue_ = value; bitField0_ |= 0x00000002; @@ -840,29 +920,34 @@ public Builder setTagValueBytes( private java.lang.Object tagValueId_ = ""; /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @return Whether the tagValueId field is set. */ public boolean hasTagValueId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @return The tagValueId. */ public java.lang.String getTagValueId() { java.lang.Object ref = tagValueId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagValueId_ = s; return s; @@ -871,20 +956,21 @@ public java.lang.String getTagValueId() { } } /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @return The bytes for tagValueId. */ - public com.google.protobuf.ByteString - getTagValueIdBytes() { + public com.google.protobuf.ByteString getTagValueIdBytes() { java.lang.Object ref = tagValueId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagValueId_ = b; return b; } else { @@ -892,28 +978,35 @@ public java.lang.String getTagValueId() { } } /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @param value The tagValueId to set. * @return This builder for chaining. */ - public Builder setTagValueId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValueId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagValueId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @return This builder for chaining. */ public Builder clearTagValueId() { @@ -923,26 +1016,30 @@ public Builder clearTagValueId() { return this; } /** + * + * *
      * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
      * 
* * optional string tag_value_id = 4; + * * @param value The bytes for tagValueId to set. * @return This builder for chaining. */ - public Builder setTagValueIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagValueIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagValueId_ = 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); } @@ -952,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Tag) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Tag) private static final com.google.cloud.asset.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Tag(); } @@ -966,27 +1063,27 @@ public static com.google.cloud.asset.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,6 +1098,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Tag 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/TagOrBuilder.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TagOrBuilder.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/TagOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TagOrBuilder.java index 1d8caebd51ca..43d1e1e6af13 100644 --- a/owl-bot-staging/java-asset/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TagOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TagOrBuilder.java @@ -1,99 +1,139 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return Whether the tagKey field is set. */ boolean hasTagKey(); /** + * + * *
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return The tagKey. */ java.lang.String getTagKey(); /** + * + * *
    * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * 
* * optional string tag_key = 1; + * * @return The bytes for tagKey. */ - com.google.protobuf.ByteString - getTagKeyBytes(); + com.google.protobuf.ByteString getTagKeyBytes(); /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return Whether the tagValue field is set. */ boolean hasTagValue(); /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return The tagValue. */ java.lang.String getTagValue(); /** + * + * *
    * TagValue namespaced name, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
    * 
* * optional string tag_value = 3; + * * @return The bytes for tagValue. */ - com.google.protobuf.ByteString - getTagValueBytes(); + com.google.protobuf.ByteString getTagValueBytes(); /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return Whether the tagValueId field is set. */ boolean hasTagValueId(); /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return The tagValueId. */ java.lang.String getTagValueId(); /** + * + * *
    * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
    * 
* * optional string tag_value_id = 4; + * * @return The bytes for tagValueId. */ - com.google.protobuf.ByteString - getTagValueIdBytes(); + com.google.protobuf.ByteString getTagValueIdBytes(); } 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 47d839b8ca6a..84dd13393947 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,49 +28,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();
   }
 
-  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.
      * 
@@ -62,6 +84,8 @@ public enum PriorAssetState */ PRIOR_ASSET_STATE_UNSPECIFIED(0), /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -70,6 +94,8 @@ public enum PriorAssetState */ PRESENT(1), /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -78,6 +104,8 @@ public enum PriorAssetState */ INVALID(2), /** + * + * *
      * Current asset is the first known state.
      * 
@@ -86,6 +114,8 @@ public enum PriorAssetState */ DOES_NOT_EXIST(3), /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -97,6 +127,8 @@ public enum PriorAssetState ; /** + * + * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -105,6 +137,8 @@ public enum PriorAssetState */ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -113,6 +147,8 @@ public enum PriorAssetState */ public static final int PRESENT_VALUE = 1; /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -121,6 +157,8 @@ public enum PriorAssetState */ public static final int INVALID_VALUE = 2; /** + * + * *
      * Current asset is the first known state.
      * 
@@ -129,6 +167,8 @@ public enum PriorAssetState */ public static final int DOES_NOT_EXIST_VALUE = 3; /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -137,7 +177,6 @@ public enum PriorAssetState */ public static final int DELETED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,41 +201,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); } @@ -205,8 +249,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; @@ -226,11 +269,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 @@ -238,11 +284,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 @@ -250,6 +299,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.
    * 
@@ -264,11 +315,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 @@ -279,11 +333,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 @@ -291,11 +348,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 @@ -303,6 +363,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.
    * 
@@ -317,38 +379,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 @@ -356,12 +432,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 @@ -369,6 +448,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.
@@ -382,6 +463,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -393,8 +475,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -404,7 +485,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) {
@@ -420,24 +503,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;
@@ -447,7 +527,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);
@@ -456,21 +536,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;
@@ -488,8 +564,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();
@@ -505,99 +580,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.
@@ -605,33 +685,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();
@@ -657,9 +736,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
@@ -678,8 +757,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;
     }
@@ -687,25 +769,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();
       }
     }
 
@@ -713,38 +789,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;
@@ -794,43 +871,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) {
@@ -840,38 +917,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.
      * 
@@ -892,14 +983,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 { @@ -910,6 +1002,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -918,9 +1012,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; @@ -933,6 +1027,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -950,6 +1046,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -962,6 +1060,8 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -972,11 +1072,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.
      * 
@@ -984,26 +1087,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 @@ -1011,11 +1120,14 @@ 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. */ @@ -1027,11 +1139,14 @@ public Builder setDeleted(boolean value) { return this; } /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -1043,24 +1158,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() { @@ -1071,6 +1195,8 @@ public com.google.cloud.asset.v1.Asset getAsset() { } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1091,14 +1217,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 { @@ -1109,6 +1236,8 @@ public Builder setAsset( return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1117,9 +1246,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; @@ -1132,6 +1261,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1149,6 +1280,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1161,6 +1294,8 @@ public com.google.cloud.asset.v1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1171,11 +1306,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.
      * 
@@ -1183,14 +1319,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_; @@ -1198,22 +1337,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. */ @@ -1224,28 +1370,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(); } @@ -1255,11 +1411,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() { @@ -1271,36 +1430,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.
@@ -1322,6 +1494,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.
@@ -1329,8 +1503,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 {
@@ -1341,6 +1514,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.
@@ -1350,9 +1525,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;
@@ -1365,6 +1540,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.
@@ -1383,6 +1560,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.
@@ -1396,6 +1575,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.
@@ -1407,11 +1588,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.
@@ -1420,21 +1604,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);
     }
 
@@ -1444,12 +1631,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();
   }
@@ -1458,27 +1645,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;
@@ -1493,6 +1680,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..e1a3db3c3501 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 e69559ea048b..30ab4259f6c4 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,55 +1,76 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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 @@ -57,11 +78,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 @@ -69,6 +93,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -83,12 +109,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 @@ -96,12 +125,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 @@ -109,6 +141,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.
@@ -122,6 +156,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -133,8 +168,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -151,12 +185,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;
@@ -166,7 +198,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);
@@ -175,13 +207,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;
@@ -207,132 +237,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(); @@ -351,9 +384,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 @@ -373,7 +406,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; } @@ -381,14 +416,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(); } } @@ -396,38 +427,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; @@ -468,26 +500,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) { @@ -497,28 +528,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() { @@ -529,6 +570,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -549,14 +592,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 { @@ -567,6 +611,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -575,9 +621,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; @@ -590,6 +636,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -607,6 +655,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -619,6 +669,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -629,11 +681,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).
      * 
@@ -641,14 +694,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_; @@ -656,26 +712,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() { @@ -686,6 +751,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -707,6 +774,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.
@@ -714,8 +783,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 {
@@ -726,6 +794,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -735,9 +805,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;
@@ -750,6 +820,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.
@@ -768,6 +840,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -781,6 +855,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.
@@ -792,11 +868,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.
@@ -805,21 +882,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);
     }
 
@@ -829,12 +909,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();
   }
@@ -843,27 +923,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;
@@ -878,6 +958,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..d2e2a66b25dc 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 8188a0663d23..9b5231f7cfee 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,50 +1,70 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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:
@@ -54,6 +74,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 @@ -61,6 +82,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:
@@ -70,6 +93,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -77,6 +101,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:
@@ -95,13 +121,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 @@ -109,13 +139,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 @@ -123,13 +157,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() { @@ -137,6 +174,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -166,12 +203,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; @@ -181,22 +216,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; @@ -222,132 +256,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(); @@ -366,9 +404,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 @@ -387,8 +425,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; } @@ -396,14 +437,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(); } } @@ -411,38 +448,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; @@ -483,26 +521,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) { @@ -512,12 +549,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:
@@ -527,12 +570,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:
@@ -542,6 +588,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() { @@ -552,6 +599,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:
@@ -576,6 +625,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:
@@ -586,8 +637,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 {
@@ -598,6 +648,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:
@@ -610,9 +662,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;
@@ -625,6 +677,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:
@@ -646,6 +700,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:
@@ -662,6 +718,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:
@@ -676,11 +734,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:
@@ -692,14 +751,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_;
@@ -707,45 +769,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) { @@ -761,16 +839,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 { @@ -781,19 +861,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; @@ -806,13 +889,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); @@ -825,13 +911,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; @@ -839,47 +928,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); } @@ -889,12 +988,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(); } @@ -903,27 +1002,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; @@ -938,6 +1037,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..6cdf7b42baec 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 ac8db6e5bb20..6a9d6e64b8be 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,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
    *
@@ -56,7 +76,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 @@ -64,6 +87,8 @@ public boolean hasSavedQuery() { return savedQuery_ != null; } /** + * + * *
    * Required. The saved query to update.
    *
@@ -75,14 +100,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.
    *
@@ -94,21 +126,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 @@ -116,11 +156,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 @@ -128,11 +172,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() { @@ -140,6 +187,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -169,12 +216,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; @@ -184,22 +229,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; @@ -226,131 +270,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(); @@ -369,9 +417,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 @@ -390,8 +438,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; } @@ -399,14 +450,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(); } } @@ -414,38 +461,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; @@ -453,7 +501,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()); } @@ -486,26 +535,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) { @@ -515,12 +563,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.
      *
@@ -532,13 +586,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.
      *
@@ -550,17 +609,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.
      *
@@ -572,7 +638,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) { @@ -588,6 +656,8 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved query to update.
      *
@@ -599,10 +669,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 { @@ -613,6 +684,8 @@ public Builder setSavedQuery( return this; } /** + * + * *
      * Required. The saved query to update.
      *
@@ -624,13 +697,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; @@ -643,6 +718,8 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved query to update.
      *
@@ -654,7 +731,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); @@ -667,6 +746,8 @@ public Builder clearSavedQuery() { return this; } /** + * + * *
      * Required. The saved query to update.
      *
@@ -678,7 +759,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; @@ -686,6 +769,8 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { return getSavedQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The saved query to update.
      *
@@ -697,17 +782,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.
      *
@@ -719,17 +809,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_; @@ -737,39 +832,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) { @@ -785,14 +896,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 { @@ -803,17 +916,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; @@ -826,11 +942,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); @@ -843,11 +962,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; @@ -855,43 +977,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); } @@ -901,12 +1033,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(); } @@ -915,27 +1047,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; @@ -950,6 +1082,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 04a95eabf8aa..7a4e4f75ba9e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    *
@@ -19,11 +37,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.
    *
@@ -35,11 +58,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.
    *
@@ -51,34 +79,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 8fb32276bc32..7f278a73e68f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,43 +28,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();
   }
 
-  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.
    *
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -66,14 +89,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.
    *
@@ -84,16 +108,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 { @@ -104,6 +127,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.
@@ -120,6 +145,7 @@ public java.lang.String getVersion() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -127,6 +153,8 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -143,6 +171,7 @@ public boolean hasResource() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ @java.lang.Override @@ -150,6 +179,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.
@@ -173,6 +204,7 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -184,8 +216,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -205,8 +236,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;
@@ -216,19 +246,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;
@@ -252,99 +281,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.
@@ -352,33 +386,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();
@@ -393,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_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
@@ -414,8 +447,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;
     }
@@ -426,9 +462,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();
       }
     }
 
@@ -436,38 +470,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;
@@ -510,24 +545,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) {
@@ -537,10 +573,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * API version of the resource.
      *
@@ -551,13 +590,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; @@ -566,6 +605,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      *
@@ -576,15 +617,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 { @@ -592,6 +632,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      *
@@ -602,18 +644,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.
      *
@@ -624,6 +670,7 @@ public Builder setVersion(
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -633,6 +680,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * API version of the resource.
      *
@@ -643,12 +692,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; @@ -658,8 +709,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.
@@ -676,12 +732,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.
@@ -698,6 +757,7 @@ public boolean hasResource() {
      * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ public com.google.protobuf.Struct getResource() { @@ -708,6 +768,8 @@ public com.google.protobuf.Struct getResource() { } } /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -739,6 +801,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.
@@ -756,8 +820,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 {
@@ -768,6 +831,8 @@ public Builder setResource(
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -787,9 +852,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;
@@ -802,6 +867,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.
@@ -830,6 +897,8 @@ public Builder clearResource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -853,6 +922,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.
@@ -874,11 +945,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.
@@ -897,21 +969,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);
     }
 
@@ -921,12 +996,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();
   }
@@ -935,27 +1010,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;
@@ -970,6 +1045,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 f010a37b2121..e7761c54215a 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.
    *
@@ -18,10 +36,13 @@ public interface VersionedResourceOrBuilder extends
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * API version of the resource.
    *
@@ -32,12 +53,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.
@@ -54,10 +77,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.
@@ -74,10 +100,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..f3dd11a7185e
--- /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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/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..bfbbaa9889df
--- /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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/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\"\253\001\n\031SearchAllResourcesReques"
+          + "t\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342"
+          + "A\001\001\022\031\n\013asset_types\030\003 \003(\tB\004\342A\001\001\022\027\n\tpage_s"
+          + "ize\030\004 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\005 \001(\tB\004\342A\001"
+          + "\001\022\026\n\010order_by\030\n \001(\tB\004\342A\001\001\"~\n\032SearchAllRe"
+          + "sourcesResponse\022G\n\007results\030\001 \003(\01326.googl"
+          + "e.cloud.asset.v1p1beta1.StandardResource"
+          + "Metadata\022\027\n\017next_page_token\030\002 \001(\t\"z\n\033Sea"
+          + "rchAllIamPoliciesRequest\022\023\n\005scope\030\001 \001(\tB"
+          + "\004\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030"
+          + "\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A\001\001\"}\n"
+          + "\034SearchAllIamPoliciesResponse\022D\n\007results"
+          + "\030\001 \003(\01323.google.cloud.asset.v1p1beta1.Ia"
+          + "mPolicySearchResult\022\027\n\017next_page_token\030\002"
+          + " \001(\t2\211\004\n\014AssetService\022\325\001\n\022SearchAllResou"
+          + "rces\0227.google.cloud.asset.v1p1beta1.Sear"
+          + "chAllResourcesRequest\0328.google.cloud.ass"
+          + "et.v1p1beta1.SearchAllResourcesResponse\""
+          + "L\332A\027scope,query,asset_types\202\323\344\223\002,\022*/v1p1"
+          + "beta1/{scope=*/*}/resources:searchAll\022\321\001"
+          + "\n\024SearchAllIamPolicies\0229.google.cloud.as"
+          + "set.v1p1beta1.SearchAllIamPoliciesReques"
+          + "t\032:.google.cloud.asset.v1p1beta1.SearchA"
+          + "llIamPoliciesResponse\"B\332A\013scope,query\202\323\344"
+          + "\223\002.\022,/v1p1beta1/{scope=*/*}/iamPolicies:"
+          + "searchAll\032M\312A\031cloudasset.googleapis.com\322"
+          + "A.https://www.googleapis.com/auth/cloud-"
+          + "platformB\255\001\n com.google.cloud.asset.v1p1"
+          + "beta1B\021AssetServiceProtoP\001Z6cloud.google"
+          + ".com/go/asset/apiv1p1beta1/assetpb;asset"
+          + "pb\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goog"
+          + "le\\Cloud\\Asset\\V1p1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(),
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor,
+            new java.lang.String[] {
+              "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor,
+            new java.lang.String[] {
+              "Results", "NextPageToken",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor,
+            new java.lang.String[] {
+              "Scope", "Query", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor,
+            new java.lang.String[] {
+              "Results", "NextPageToken",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/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 70%
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 1c2556b59b1a..dda3c83b8255 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,29 +44,33 @@ private IamPolicySearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } - 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:
@@ -57,10 +79,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:
@@ -69,17 +94,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:
@@ -88,11 +113,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:
@@ -101,14 +129,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:
@@ -117,89 +148,102 @@ 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(); } - 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:
@@ -208,23 +252,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:
@@ -233,13 +280,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:
@@ -248,20 +299,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:
@@ -270,12 +326,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)) { @@ -285,6 +344,7 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,10 +356,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, @@ -313,15 +371,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; @@ -331,15 +390,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; } @@ -361,89 +421,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 @@ -453,61 +519,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(); @@ -517,14 +584,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 @@ -538,13 +607,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(); @@ -556,48 +629,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(); @@ -625,21 +704,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) { @@ -649,11 +734,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( @@ -661,11 +750,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(); @@ -674,10 +766,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:
@@ -686,23 +781,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:
@@ -711,13 +809,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:
@@ -726,20 +828,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:
@@ -748,12 +855,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)) { @@ -761,13 +871,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:
@@ -776,18 +888,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() { @@ -795,6 +906,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:
@@ -803,19 +916,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:
@@ -824,15 +942,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) { @@ -845,41 +964,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; @@ -891,16 +1013,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
@@ -909,6 +1034,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDef
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -917,14 +1043,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
@@ -933,16 +1060,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 { @@ -951,9 +1077,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
@@ -964,6 +1093,7 @@ public java.lang.String getResource() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -972,14 +1102,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
@@ -990,16 +1121,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 { @@ -1010,6 +1140,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
@@ -1018,6 +1150,7 @@ public java.lang.String getProject() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1025,6 +1158,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
@@ -1033,6 +1168,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ @java.lang.Override @@ -1040,6 +1176,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
@@ -1057,12 +1195,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 @@ -1070,19 +1211,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.
@@ -1091,11 +1239,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;
@@ -1107,8 +1259,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -1137,12 +1288,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;
@@ -1152,26 +1301,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;
@@ -1202,131 +1348,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(); @@ -1347,9 +1498,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 @@ -1368,8 +1519,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; } @@ -1383,14 +1537,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(); } } @@ -1398,38 +1549,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; @@ -1437,7 +1589,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; @@ -1480,36 +1633,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) { @@ -1519,10 +1673,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * The
      * [full resource
@@ -1531,13 +1688,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; @@ -1546,6 +1703,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The
      * [full resource
@@ -1554,15 +1713,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 { @@ -1570,6 +1728,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The
      * [full resource
@@ -1578,18 +1738,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
@@ -1598,6 +1762,7 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { @@ -1607,6 +1772,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * The
      * [full resource
@@ -1615,12 +1782,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; @@ -1630,6 +1799,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
@@ -1640,13 +1811,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; @@ -1655,6 +1826,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
@@ -1665,15 +1838,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 { @@ -1681,6 +1853,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
@@ -1691,18 +1865,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
@@ -1713,6 +1891,7 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1722,6 +1901,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
@@ -1732,12 +1913,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; @@ -1747,8 +1930,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
@@ -1757,12 +1945,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
@@ -1771,6 +1962,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1781,6 +1973,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
@@ -1804,6 +1998,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
@@ -1813,8 +2009,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 {
@@ -1825,6 +2020,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
@@ -1836,9 +2033,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;
@@ -1851,6 +2048,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
@@ -1871,6 +2070,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
@@ -1886,6 +2087,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
@@ -1899,11 +2102,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
@@ -1914,14 +2118,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_;
@@ -1929,36 +2135,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.
@@ -1966,7 +2186,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();
@@ -1980,6 +2201,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.
@@ -1988,7 +2211,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 {
@@ -1999,6 +2223,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.
@@ -2006,11 +2232,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;
@@ -2023,6 +2252,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.
@@ -2041,6 +2272,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.
@@ -2048,12 +2281,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.
@@ -2061,15 +2297,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.
@@ -2078,21 +2319,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);
     }
 
@@ -2102,12 +2346,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();
   }
@@ -2116,27 +2360,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;
@@ -2151,6 +2395,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..719523d3f11f 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 fc7e3caf6080..c48f7c7c7a36 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,82 +1,109 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.emptyList(); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Permissions(); } - 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.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -84,20 +111,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; @@ -109,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -139,15 +168,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; } @@ -168,145 +197,148 @@ 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(); bitField0_ = 0; - permissions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -325,8 +357,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.Permissions result = + new com.google.cloud.asset.v1p1beta1.Permissions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,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; @@ -419,18 +455,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) { @@ -440,10 +478,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePermissionsIsMutable() { if (!permissions_.isModifiable()) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); @@ -451,35 +491,43 @@ private void ensurePermissionsIsMutable() { 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() { permissions_.makeImmutable(); 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. */ @@ -487,31 +535,37 @@ 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); bitField0_ |= 0x00000001; @@ -519,17 +573,21 @@ public Builder setPermissions( 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); bitField0_ |= 0x00000001; @@ -537,50 +595,58 @@ public Builder addPermissions( 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_); bitField0_ |= 0x00000001; 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() { - permissions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + permissions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -588,9 +654,9 @@ public Builder addPermissionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +666,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(); } @@ -614,27 +680,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; @@ -649,6 +715,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..1b68e85d49ec 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 7e36ce3be61d..855fa95ddad9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +45,32 @@ private SearchAllIamPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } - 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:
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -68,14 +91,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:
@@ -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 QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object query_ = ""; /** + * + * *
    * Optional. The query statement. Examples:
    *
@@ -116,6 +142,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -124,14 +151,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:
    *
@@ -140,16 +168,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 { @@ -160,6 +187,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
@@ -169,6 +198,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -177,9 +207,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`
@@ -188,6 +221,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -196,14 +230,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`
@@ -212,16 +247,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 { @@ -230,6 +264,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +276,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -271,8 +305,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_); @@ -285,21 +318,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; } @@ -325,131 +355,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(); @@ -462,13 +497,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(); } @@ -483,13 +519,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_; @@ -509,38 +549,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; @@ -548,7 +589,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; @@ -593,32 +636,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) { @@ -628,10 +676,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:
@@ -643,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; @@ -658,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:
@@ -669,15 +722,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 { @@ -685,6 +737,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:
@@ -696,18 +750,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:
@@ -719,6 +777,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -728,6 +787,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:
@@ -739,12 +800,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; @@ -754,6 +817,8 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement. Examples:
      *
@@ -762,13 +827,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; @@ -777,6 +842,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. Examples:
      *
@@ -785,15 +852,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 { @@ -801,6 +867,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. Examples:
      *
@@ -809,18 +877,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:
      *
@@ -829,6 +901,7 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { @@ -838,6 +911,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * Optional. The query statement. Examples:
      *
@@ -846,12 +921,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; @@ -859,8 +936,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
@@ -870,6 +949,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -877,6 +957,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
@@ -886,6 +968,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -897,6 +980,8 @@ public Builder setPageSize(int value) { 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
@@ -906,6 +991,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -917,6 +1003,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`
@@ -925,13 +1013,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; @@ -940,6 +1028,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`
@@ -948,15 +1038,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 { @@ -964,6 +1053,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`
@@ -972,18 +1063,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`
@@ -992,6 +1087,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1001,6 +1097,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`
@@ -1009,21 +1107,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); } @@ -1033,12 +1133,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(); } @@ -1047,27 +1148,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; @@ -1082,6 +1183,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 025d64a85197..ba2c9e015591 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -19,10 +37,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:
@@ -34,12 +55,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:
    *
@@ -48,10 +71,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:
    *
@@ -60,12 +86,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
@@ -75,11 +103,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`
@@ -88,10 +119,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`
@@ -100,8 +134,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 670a785db731..d45aa19f74a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } - 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.
@@ -60,6 +82,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.
@@ -68,11 +92,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.
@@ -85,6 +111,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.
@@ -97,6 +125,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.
@@ -111,9 +141,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
@@ -121,6 +154,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +163,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
@@ -144,16 +179,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 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -191,8 +225,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 +238,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; } @@ -239,131 +271,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(); @@ -380,13 +417,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(); } @@ -401,14 +439,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_); @@ -420,7 +462,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_; @@ -431,38 +474,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; @@ -470,7 +514,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()) { @@ -489,9 +535,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_); } @@ -528,30 +575,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) { @@ -561,21 +611,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.
@@ -591,6 +650,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.
@@ -606,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.
@@ -621,6 +684,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.
@@ -643,6 +708,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.
@@ -662,6 +729,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.
@@ -683,6 +752,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.
@@ -705,6 +776,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.
@@ -724,6 +797,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.
@@ -743,6 +818,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.
@@ -751,11 +828,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);
@@ -763,6 +840,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.
@@ -781,6 +860,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.
@@ -799,6 +880,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.
@@ -811,6 +894,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.
@@ -821,11 +906,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.
@@ -833,8 +921,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 {
@@ -842,6 +930,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.
@@ -850,10 +940,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.
@@ -863,10 +955,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.
@@ -874,20 +969,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_;
@@ -895,6 +993,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
@@ -902,13 +1002,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; @@ -917,6 +1017,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
@@ -924,15 +1026,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 { @@ -940,6 +1041,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
@@ -947,18 +1050,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
@@ -966,6 +1073,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -975,6 +1083,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
@@ -982,21 +1092,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); } @@ -1006,12 +1118,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(); } @@ -1020,27 +1133,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; @@ -1055,6 +1168,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..11a9ba3ae67b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 ea74d3a520ff..f5c2bf9506ef 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,57 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } - 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:
@@ -63,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -71,14 +93,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 +113,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,14 +130,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 @@ -124,29 +150,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 { @@ -155,41 +181,50 @@ public java.lang.String getQuery() { } public static final int ASSET_TYPES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -197,23 +232,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
@@ -223,6 +262,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -231,9 +271,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
@@ -242,6 +285,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -250,14 +294,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
@@ -266,16 +311,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 { @@ -284,9 +328,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
@@ -295,6 +342,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -303,14 +351,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
@@ -319,16 +368,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 { @@ -337,6 +385,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +397,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -392,8 +440,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_); @@ -409,25 +456,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; } @@ -459,139 +501,143 @@ 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(); bitField0_ = 0; scope_ = ""; query_ = ""; - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageSize_ = 0; pageToken_ = ""; orderBy_ = ""; @@ -599,9 +645,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 @@ -620,8 +666,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result = + new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -653,38 +702,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; @@ -692,7 +742,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; @@ -752,43 +803,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) { @@ -798,10 +856,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:
@@ -813,13 +874,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; @@ -828,6 +889,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:
@@ -839,15 +902,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 { @@ -855,6 +917,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:
@@ -866,18 +930,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 +957,7 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -898,6 +967,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:
@@ -909,12 +980,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; @@ -924,18 +997,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; @@ -944,20 +1019,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 { @@ -965,28 +1041,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() { @@ -996,17 +1079,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; @@ -1016,6 +1103,7 @@ public Builder setQueryBytes( private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetTypesIsMutable() { if (!assetTypes_.isModifiable()) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); @@ -1023,38 +1111,46 @@ private void ensureAssetTypesIsMutable() { 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() { assetTypes_.makeImmutable(); 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. */ @@ -1062,33 +1158,39 @@ 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); bitField0_ |= 0x00000004; @@ -1096,18 +1198,22 @@ public Builder setAssetTypes( 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); bitField0_ |= 0x00000004; @@ -1115,53 +1221,61 @@ public Builder addAssetTypes( 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_); bitField0_ |= 0x00000004; 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() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; 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 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); @@ -1170,8 +1284,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
@@ -1181,6 +1297,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1188,6 +1305,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
@@ -1197,6 +1316,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1208,6 +1328,8 @@ public Builder setPageSize(int value) { 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
@@ -1217,6 +1339,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1228,6 +1351,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
@@ -1236,13 +1361,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; @@ -1251,6 +1376,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
@@ -1259,15 +1386,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 { @@ -1275,6 +1401,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
@@ -1283,18 +1411,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
@@ -1303,6 +1435,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1312,6 +1445,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
@@ -1320,12 +1455,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; @@ -1335,6 +1472,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
@@ -1343,13 +1482,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; @@ -1358,6 +1497,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
@@ -1366,15 +1507,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 { @@ -1382,6 +1522,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
@@ -1390,18 +1532,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
@@ -1410,6 +1556,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1419,6 +1566,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
@@ -1427,21 +1576,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); } @@ -1451,12 +1602,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(); } @@ -1465,27 +1616,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; @@ -1500,6 +1651,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 5b6de12038a6..5f02ee143a47 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -19,10 +37,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:
@@ -34,77 +55,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
@@ -114,11 +152,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
@@ -127,10 +168,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
@@ -139,12 +183,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
@@ -153,10 +199,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
@@ -165,8 +214,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 4700d822c454..a0869fab5ff3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } - 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.
    * 
@@ -55,10 +77,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.
    * 
@@ -66,11 +91,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.
    * 
@@ -82,6 +110,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -93,6 +123,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int return results_.get(index); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -106,9 +138,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
@@ -116,6 +151,7 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,14 +160,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
@@ -139,16 +176,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -186,8 +222,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_); @@ -200,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.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; } @@ -234,131 +268,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(); @@ -375,9 +414,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 @@ -396,14 +435,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_); @@ -426,38 +469,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; @@ -465,7 +509,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()) { @@ -484,9 +529,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_); } @@ -523,30 +569,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) { @@ -556,28 +605,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 { @@ -585,6 +644,8 @@ public java.util.List } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -599,6 +660,8 @@ public int getResultsCount() { } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -613,6 +676,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -634,6 +699,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -641,7 +708,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()); @@ -652,6 +720,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -672,6 +742,8 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.StandardResourceMetad return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -693,6 +765,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -711,6 +785,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -718,7 +794,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()); @@ -729,6 +806,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -736,11 +815,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); @@ -748,6 +827,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -765,6 +846,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -782,6 +865,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -793,6 +878,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -802,19 +889,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 { @@ -822,6 +913,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -829,10 +922,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.
      * 
@@ -841,30 +937,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_; @@ -872,6 +975,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
@@ -879,13 +984,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; @@ -894,6 +999,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
@@ -901,15 +1008,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -917,6 +1023,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
@@ -924,18 +1032,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
@@ -943,6 +1055,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -952,6 +1065,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
@@ -959,21 +1074,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,12 +1100,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(); } @@ -997,27 +1114,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; @@ -1032,6 +1149,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..57f1c92d2717 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 72% 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 9ff5599c2e3f..61ae8f4a1380 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,73 +1,92 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; project_ = ""; displayName_ = ""; description_ = ""; - additionalAttributes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + additionalAttributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StandardResourceMetadata(); } - 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`.
@@ -77,6 +96,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -85,14 +105,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`.
@@ -102,16 +123,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 { @@ -120,15 +140,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 @@ -137,30 +161,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 { @@ -169,15 +193,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 @@ -186,30 +214,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 { @@ -218,14 +246,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 @@ -234,29 +266,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 { @@ -265,15 +297,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 @@ -282,30 +318,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 { @@ -314,10 +350,13 @@ public java.lang.String getDescription() { } public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList additionalAttributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -325,13 +364,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.
@@ -339,12 +380,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.
@@ -352,6 +396,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. */ @@ -359,6 +404,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.
@@ -366,24 +413,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 @@ -392,30 +443,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 { @@ -424,32 +475,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
@@ -460,20 +513,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
@@ -488,6 +542,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping Google
    * Cloud
@@ -498,17 +554,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
@@ -519,11 +577,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();
     }
@@ -531,10 +589,13 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 13;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList networkTags_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group Google Cloud resources. See [Labelling
@@ -544,13 +605,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
@@ -560,12 +623,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
@@ -575,6 +641,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. */ @@ -582,6 +649,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
@@ -591,15 +660,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; @@ -611,8 +681,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,17 +698,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)); } @@ -678,15 +744,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; @@ -704,31 +770,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; } @@ -770,153 +828,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(); @@ -926,19 +987,17 @@ public Builder clear() { project_ = ""; displayName_ = ""; description_ = ""; - additionalAttributes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + additionalAttributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); location_ = ""; internalGetMutableLabels().clear(); - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -957,8 +1016,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result = + new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1001,38 +1063,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; @@ -1040,7 +1103,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; @@ -1081,8 +1145,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()) { @@ -1120,63 +1183,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) { @@ -1186,10 +1261,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`.
@@ -1199,13 +1277,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; @@ -1214,6 +1292,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1223,15 +1303,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 { @@ -1239,6 +1318,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1248,18 +1329,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`.
@@ -1269,6 +1354,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1278,6 +1364,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1287,12 +1375,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; @@ -1302,19 +1392,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; @@ -1323,21 +1415,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 { @@ -1345,30 +1438,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() { @@ -1378,18 +1478,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; @@ -1399,19 +1503,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; @@ -1420,21 +1526,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 { @@ -1442,30 +1549,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() { @@ -1475,18 +1589,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; @@ -1496,18 +1614,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; @@ -1516,20 +1636,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 { @@ -1537,28 +1658,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() { @@ -1568,17 +1696,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; @@ -1588,19 +1720,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; @@ -1609,21 +1743,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 { @@ -1631,30 +1766,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() { @@ -1664,18 +1806,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; @@ -1685,6 +1831,7 @@ public Builder setDescriptionBytes( private com.google.protobuf.LazyStringArrayList additionalAttributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAdditionalAttributesIsMutable() { if (!additionalAttributes_.isModifiable()) { additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(additionalAttributes_); @@ -1692,6 +1839,8 @@ private void ensureAdditionalAttributesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1699,14 +1848,16 @@ 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() { additionalAttributes_.makeImmutable(); return additionalAttributes_; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1714,12 +1865,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.
@@ -1727,6 +1881,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. */ @@ -1734,6 +1889,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.
@@ -1741,14 +1898,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.
@@ -1756,13 +1915,15 @@ 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); bitField0_ |= 0x00000020; @@ -1770,6 +1931,8 @@ public Builder setAdditionalAttributes( return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1777,12 +1940,14 @@ 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); bitField0_ |= 0x00000020; @@ -1790,6 +1955,8 @@ public Builder addAdditionalAttributes( return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1797,19 +1964,20 @@ 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_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1817,16 +1985,19 @@ public Builder addAllAdditionalAttributes(
      * 
* * repeated string additional_attributes = 10; + * * @return This builder for chaining. */ public Builder clearAdditionalAttributes() { - additionalAttributes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + additionalAttributes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1834,12 +2005,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); @@ -1850,19 +2023,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; @@ -1871,21 +2046,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 { @@ -1893,30 +2069,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() { @@ -1926,18 +2109,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; @@ -1945,21 +2132,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(); @@ -1968,10 +2153,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
@@ -1982,20 +2170,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
@@ -2010,6 +2199,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping Google
      * Cloud
@@ -2020,17 +2211,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
@@ -2041,23 +2234,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
@@ -2067,23 +2262,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
@@ -2093,17 +2287,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
@@ -2113,16 +2310,15 @@ 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.LazyStringArrayList networkTags_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureNetworkTagsIsMutable() {
       if (!networkTags_.isModifiable()) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
@@ -2130,6 +2326,8 @@ private void ensureNetworkTagsIsMutable() {
       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
@@ -2139,14 +2337,16 @@ 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() { networkTags_.makeImmutable(); 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
@@ -2156,12 +2356,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
@@ -2171,6 +2374,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. */ @@ -2178,6 +2382,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
@@ -2187,14 +2393,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
@@ -2204,13 +2412,15 @@ 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); bitField0_ |= 0x00000100; @@ -2218,6 +2428,8 @@ public Builder setNetworkTags( 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
@@ -2227,12 +2439,14 @@ 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); bitField0_ |= 0x00000100; @@ -2240,6 +2454,8 @@ public Builder addNetworkTags( 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
@@ -2249,19 +2465,20 @@ 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_); bitField0_ |= 0x00000100; 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
@@ -2271,16 +2488,19 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 13; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { - networkTags_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100);; + networkTags_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; 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
@@ -2290,12 +2510,14 @@ 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); @@ -2303,9 +2525,9 @@ public Builder addNetworkTagsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2315,12 +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(); } @@ -2329,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; @@ -2364,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..5d608e6d3395 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 78% 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 4b344ede27fd..40f66e803c89 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * An asset in Google Cloud. An asset can be any resource in the Google Cloud
  * [resource
@@ -17,54 +34,59 @@
  *
  * 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_ = "";
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
     orgPolicy_ = 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 Asset();
   }
 
-  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);
   }
 
   private int accessContextPolicyCase_ = 0;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -80,28 +102,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`
@@ -112,6 +141,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -120,14 +150,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`
@@ -138,16 +169,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 { @@ -156,9 +186,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`
    *
@@ -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`
    *
@@ -193,16 +228,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 { @@ -213,11 +247,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Resource resource_; /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -225,18 +262,25 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * A 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_; } /** + * + * *
    * A representation of the resource.
    * 
@@ -245,12 +289,16 @@ 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_; /** + * + * *
    * 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.
@@ -264,6 +312,7 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder()
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -271,6 +320,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.
@@ -284,6 +335,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -291,6 +343,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.
@@ -311,10 +365,13 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   }
 
   public static final int ANCESTORS_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList ancestors_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -327,13 +384,15 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
    * 
* * repeated string ancestors = 6; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -346,12 +405,15 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
    * 
* * repeated string ancestors = 6; + * * @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),
@@ -364,6 +426,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -371,6 +434,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),
@@ -383,22 +448,25 @@ 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); } 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 @@ -406,22 +474,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).
@@ -430,21 +503,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 @@ -452,22 +529,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).
@@ -476,21 +558,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 @@ -498,22 +584,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).
@@ -522,17 +613,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 ORG_POLICY_FIELD_NUMBER = 10;
+
   @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).
@@ -547,6 +642,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).
@@ -557,11 +654,13 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
    */
   @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).
@@ -576,6 +675,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).
@@ -590,6 +691,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).
@@ -600,12 +703,12 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
    */
   @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);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -617,8 +720,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -635,13 +737,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ancestors_.getRaw(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 < orgPolicy_.size(); i++) {
       output.writeMessage(10, orgPolicy_.get(i));
@@ -662,12 +767,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;
@@ -678,20 +781,23 @@ public int getSerializedSize() {
       size += 1 * getAncestorsList().size();
     }
     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_);
     }
     for (int i = 0; i < orgPolicy_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, orgPolicy_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, orgPolicy_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -701,44 +807,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.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 (!getOrgPolicyList()
-        .equals(other.getOrgPolicyList())) return false;
+    if (!getAncestorsList().equals(other.getAncestorsList())) return false;
+    if (!getOrgPolicyList().equals(other.getOrgPolicyList())) 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:
@@ -795,99 +892,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;
   }
   /**
+   *
+   *
    * 
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -901,33 +1003,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();
@@ -944,8 +1045,7 @@ public Builder clear() {
         iamPolicyBuilder_.dispose();
         iamPolicyBuilder_ = null;
       }
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       if (accessPolicyBuilder_ != null) {
         accessPolicyBuilder_.clear();
       }
@@ -968,9 +1068,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
@@ -989,9 +1089,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);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1018,14 +1121,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();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         ancestors_.makeImmutable();
@@ -1036,16 +1135,13 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.Asset result) {
     private void buildPartialOneofs(com.google.cloud.asset.v1p2beta1.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();
       }
     }
@@ -1054,38 +1150,39 @@ private void buildPartialOneofs(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;
@@ -1138,30 +1235,35 @@ public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000100);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
         }
       }
       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();
@@ -1189,76 +1291,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: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAncestorsIsMutable();
-              ancestors_.add(s);
-              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: {
-              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 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:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAncestorsIsMutable();
+                ancestors_.add(s);
+                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:
+              {
+                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 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) {
@@ -1268,12 +1370,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() {
@@ -1287,6 +1389,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`
@@ -1297,13 +1401,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; @@ -1312,6 +1416,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1322,15 +1428,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 { @@ -1338,6 +1443,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1348,18 +1455,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`
@@ -1370,6 +1481,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1379,6 +1491,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1389,12 +1503,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; @@ -1404,6 +1520,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1413,13 +1531,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; @@ -1428,6 +1546,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1437,15 +1557,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 { @@ -1453,6 +1572,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1462,18 +1583,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`
      *
@@ -1483,6 +1608,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1492,6 +1618,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1501,12 +1629,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; @@ -1516,34 +1646,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_; /** + * + * *
      * A 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); } /** + * + * *
      * A 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(); } } /** + * + * *
      * A representation of the resource.
      * 
@@ -1564,14 +1707,15 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** + * + * *
      * A 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 { @@ -1582,6 +1726,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1590,9 +1736,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; @@ -1605,6 +1751,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1622,6 +1770,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1634,6 +1784,8 @@ public com.google.cloud.asset.v1p2beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -1644,11 +1796,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_; } } /** + * + * *
      * A representation of the resource.
      * 
@@ -1656,14 +1811,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_; @@ -1671,8 +1829,13 @@ 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_; /** + * + * *
      * 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.
@@ -1686,12 +1849,15 @@ public com.google.cloud.asset.v1p2beta1.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.
@@ -1705,6 +1871,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1715,6 +1882,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.
@@ -1743,6 +1912,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.
@@ -1757,8 +1928,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 {
@@ -1769,6 +1939,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.
@@ -1785,9 +1957,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;
@@ -1800,6 +1972,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.
@@ -1825,6 +1999,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.
@@ -1845,6 +2021,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.
@@ -1863,11 +2041,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.
@@ -1883,14 +2062,17 @@ 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_;
@@ -1898,6 +2080,7 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList ancestors_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAncestorsIsMutable() {
       if (!ancestors_.isModifiable()) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
@@ -1905,6 +2088,8 @@ private void ensureAncestorsIsMutable() {
       bitField0_ |= 0x00000010;
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1917,14 +2102,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1937,12 +2124,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 6; + * * @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),
@@ -1955,6 +2145,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1962,6 +2153,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),
@@ -1974,14 +2167,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); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1994,13 +2189,15 @@ 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); bitField0_ |= 0x00000010; @@ -2008,6 +2205,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2020,12 +2219,14 @@ 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); bitField0_ |= 0x00000010; @@ -2033,6 +2234,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2045,19 +2248,20 @@ 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_); bitField0_ |= 0x00000010; 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),
@@ -2070,16 +2274,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 6; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; 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),
@@ -2092,12 +2299,14 @@ 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); @@ -2107,14 +2316,20 @@ public Builder addAncestorsBytes( } 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 @@ -2122,12 +2337,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 @@ -2145,6 +2363,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).
@@ -2166,6 +2386,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).
@@ -2185,6 +2407,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).
@@ -2192,12 +2416,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;
         }
@@ -2213,6 +2443,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).
@@ -2237,6 +2469,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).
@@ -2244,10 +2478,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).
@@ -2256,7 +2493,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 {
@@ -2267,6 +2505,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).
@@ -2275,14 +2515,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());
@@ -2294,14 +2540,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 @@ -2309,12 +2561,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 @@ -2332,6 +2587,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).
@@ -2353,6 +2610,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).
@@ -2372,6 +2631,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).
@@ -2381,10 +2642,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;
         }
@@ -2400,6 +2666,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).
@@ -2424,6 +2692,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).
@@ -2435,6 +2705,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).
@@ -2443,7 +2715,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 {
@@ -2454,6 +2727,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).
@@ -2462,14 +2737,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());
@@ -2481,14 +2762,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 @@ -2496,19 +2783,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 { @@ -2519,6 +2810,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).
@@ -2526,7 +2819,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();
@@ -2540,6 +2834,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).
@@ -2559,6 +2855,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2566,12 +2864,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;
         }
@@ -2587,6 +2892,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).
@@ -2611,6 +2918,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2618,10 +2927,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).
@@ -2630,17 +2942,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).
@@ -2649,14 +2965,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());
@@ -2668,18 +2990,24 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
     }
 
     private java.util.List orgPolicy_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000100) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000100;
-       }
+      }
     }
 
     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).
@@ -2697,6 +3025,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2714,6 +3044,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2731,6 +3063,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).
@@ -2740,8 +3074,7 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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();
@@ -2755,6 +3088,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2776,6 +3111,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2799,6 +3136,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).
@@ -2808,8 +3147,7 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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();
@@ -2823,6 +3161,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2832,8 +3172,7 @@ public Builder addOrgPolicy(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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());
@@ -2844,6 +3183,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2865,6 +3206,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2878,8 +3221,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);
@@ -2887,6 +3229,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2907,6 +3251,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2927,6 +3273,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).
@@ -2936,11 +3284,12 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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).
@@ -2950,14 +3299,16 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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).
@@ -2967,8 +3318,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    public java.util.List 
-         getOrgPolicyOrBuilderList() {
+    public java.util.List
+        getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2976,6 +3327,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).
@@ -2986,10 +3339,12 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
     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).
@@ -2999,12 +3354,13 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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).
@@ -3014,27 +3370,29 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
      */
-    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_ & 0x00000100) != 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_ & 0x00000100) != 0), getParentForChildren(), isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3044,12 +3402,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();
   }
@@ -3058,27 +3416,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;
@@ -3093,6 +3451,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 90%
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 f0cb0d30ddc7..89fbf70de7be 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -18,10 +36,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`
@@ -32,12 +53,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`
    *
@@ -47,10 +70,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`
    *
@@ -60,30 +86,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.v1p2beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1p2beta1.Resource getResource(); /** + * + * *
    * A representation of the resource.
    * 
@@ -93,6 +127,8 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1p2beta1.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.
@@ -106,10 +142,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.
@@ -123,10 +162,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.
@@ -144,6 +186,8 @@ public interface AssetOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -156,11 +200,13 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @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),
@@ -173,10 +219,13 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @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),
@@ -189,11 +238,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); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -206,33 +258,41 @@ 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); /** + * + * *
    * 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).
@@ -243,26 +303,34 @@ public interface AssetOrBuilder extends
   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).
@@ -273,26 +341,34 @@ public interface AssetOrBuilder extends
   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).
@@ -300,9 +376,12 @@ public interface AssetOrBuilder extends
    *
    * .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 an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -312,9 +391,10 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
    */
-  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).
@@ -326,6 +406,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).
@@ -337,6 +419,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).
@@ -346,9 +430,11 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
    */
-  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).
@@ -358,8 +444,7 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 10;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
 
   com.google.cloud.asset.v1p2beta1.Asset.AccessContextPolicyCase getAccessContextPolicyCase();
 }
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..5ba33d78729a
--- /dev/null
+++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java
@@ -0,0 +1,165 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/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\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\"\216\001\n\rTemporalAsset\0228"
+          + "\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p2"
+          + "beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005ass"
+          + "et\030\003 \001(\0132#.google.cloud.asset.v1p2beta1."
+          + "Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132"
+          + "\032.google.protobuf.Timestamp\022,\n\010end_time\030"
+          + "\002 \001(\0132\032.google.protobuf.Timestamp\"\220\004\n\005As"
+          + "set\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.v1p"
+          + "2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.go"
+          + "ogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\022N\n"
+          + "\raccess_policy\030\007 \001(\01325.google.identity.a"
+          + "ccesscontextmanager.v1.AccessPolicyH\000\022L\n"
+          + "\014access_level\030\010 \001(\01324.google.identity.ac"
+          + "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s"
+          + "ervice_perimeter\030\t \001(\01329.google.identity"
+          + ".accesscontextmanager.v1.ServicePerimete"
+          + "rH\000\0225\n\norg_policy\030\n \003(\0132!.google.cloud.o"
+          + "rgpolicy.v1.Policy:\'\352A$\n\037cloudasset.goog"
+          + "leapis.com/Asset\022\001*B\027\n\025access_context_po"
+          + "licy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026di"
+          + "scovery_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\006pare"
+          + "nt\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf"
+          + ".StructB\251\001\n com.google.cloud.asset.v1p2b"
+          + "eta1B\nAssetProtoP\001Z6cloud.google.com/go/"
+          + "asset/apiv1p2beta1/assetpb;assetpb\370\001\001\252\002\034"
+          + "Google.Cloud.Asset.V1P2Beta1\312\002\034Google\\Cl"
+          + "oud\\Asset\\V1p2beta1b\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_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",
+              "AccessPolicy",
+              "AccessLevel",
+              "ServicePerimeter",
+              "OrgPolicy",
+              "AccessContextPolicy",
+            });
+    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.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();
+    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..26b82eb66579
--- /dev/null
+++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java
@@ -0,0 +1,303 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/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_ExportAssetsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable;
+  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\032\037google/protobuf/t"
+          + "imestamp.proto\"\210\001\n\024ExportAssetsResponse\022"
+          + "-\n\tread_time\030\001 \001(\0132\032.google.protobuf.Tim"
+          + "estamp\022A\n\routput_config\030\002 \001(\0132*.google.c"
+          + "loud.asset.v1p2beta1.OutputConfig\"\\\n\035Bat"
+          + "chGetAssetsHistoryResponse\022;\n\006assets\030\001 \003"
+          + "(\0132+.google.cloud.asset.v1p2beta1.Tempor"
+          + "alAsset\"x\n\021CreateFeedRequest\022\024\n\006parent\030\001"
+          + " \001(\tB\004\342A\001\002\022\025\n\007feed_id\030\002 \001(\tB\004\342A\001\002\0226\n\004fee"
+          + "d\030\003 \001(\0132\".google.cloud.asset.v1p2beta1.F"
+          + "eedB\004\342A\001\002\"G\n\016GetFeedRequest\0225\n\004name\030\001 \001("
+          + "\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com/Fe"
+          + "ed\"(\n\020ListFeedsRequest\022\024\n\006parent\030\001 \001(\tB\004"
+          + "\342A\001\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\013"
+          + "2\".google.cloud.asset.v1p2beta1.Feed\"\202\001\n"
+          + "\021UpdateFeedRequest\0226\n\004feed\030\001 \001(\0132\".googl"
+          + "e.cloud.asset.v1p2beta1.FeedB\004\342A\001\002\0225\n\013up"
+          + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM"
+          + "askB\004\342A\001\002\"J\n\021DeleteFeedRequest\0225\n\004name\030\001"
+          + " \001(\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com"
+          + "/Feed\"f\n\014OutputConfig\022G\n\017gcs_destination"
+          + "\030\001 \001(\0132,.google.cloud.asset.v1p2beta1.Gc"
+          + "sDestinationH\000B\r\n\013destination\"-\n\016GcsDest"
+          + "ination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021"
+          + "PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020Feed"
+          + "OutputConfig\022M\n\022pubsub_destination\030\001 \001(\013"
+          + "2/.google.cloud.asset.v1p2beta1.PubsubDe"
+          + "stinationH\000B\r\n\013destination\"\353\002\n\004Feed\022\022\n\004n"
+          + "ame\030\001 \001(\tB\004\342A\001\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013"
+          + "asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162"
+          + ").google.cloud.asset.v1p2beta1.ContentTy"
+          + "pe\022P\n\022feed_output_config\030\005 \001(\0132..google."
+          + "cloud.asset.v1p2beta1.FeedOutputConfigB\004"
+          + "\342A\001\002:\221\001\352A\215\001\n\036cloudasset.googleapis.com/F"
+          + "eed\022\037projects/{project}/feeds/{feed}\022\035fo"
+          + "lders/{folder}/feeds/{feed}\022)organizatio"
+          + "ns/{organization}/feeds/{feed} \001*I\n\013Cont"
+          + "entType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n"
+          + "\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetSer"
+          + "vice\022\224\001\n\nCreateFeed\022/.google.cloud.asset"
+          + ".v1p2beta1.CreateFeedRequest\032\".google.cl"
+          + "oud.asset.v1p2beta1.Feed\"1\332A\006parent\202\323\344\223\002"
+          + "\"\"\035/v1p2beta1/{parent=*/*}/feeds:\001*\022\211\001\n\007"
+          + "GetFeed\022,.google.cloud.asset.v1p2beta1.G"
+          + "etFeedRequest\032\".google.cloud.asset.v1p2b"
+          + "eta1.Feed\",\332A\004name\202\323\344\223\002\037\022\035/v1p2beta1/{na"
+          + "me=*/*/feeds/*}\022\234\001\n\tListFeeds\022..google.c"
+          + "loud.asset.v1p2beta1.ListFeedsRequest\032/."
+          + "google.cloud.asset.v1p2beta1.ListFeedsRe"
+          + "sponse\".\332A\006parent\202\323\344\223\002\037\022\035/v1p2beta1/{par"
+          + "ent=*/*}/feeds\022\227\001\n\nUpdateFeed\022/.google.c"
+          + "loud.asset.v1p2beta1.UpdateFeedRequest\032\""
+          + ".google.cloud.asset.v1p2beta1.Feed\"4\332A\004f"
+          + "eed\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/fee"
+          + "ds/*}:\001*\022\203\001\n\nDeleteFeed\022/.google.cloud.a"
+          + "sset.v1p2beta1.DeleteFeedRequest\032\026.googl"
+          + "e.protobuf.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1p2be"
+          + "ta1/{name=*/*/feeds/*}\032M\312A\031cloudasset.go"
+          + "ogleapis.com\322A.https://www.googleapis.co"
+          + "m/auth/cloud-platformB\255\001\n com.google.clo"
+          + "ud.asset.v1p2beta1B\021AssetServiceProtoP\001Z"
+          + "6cloud.google.com/go/asset/apiv1p2beta1/"
+          + "assetpb;assetpb\252\002\034Google.Cloud.Asset.V1P"
+          + "2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006p"
+          + "roto3"
+    };
+    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(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor,
+            new java.lang.String[] {
+              "ReadTime", "OutputConfig",
+            });
+    internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor,
+            new java.lang.String[] {
+              "Assets",
+            });
+    internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    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(3);
+    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(4);
+    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(5);
+    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(6);
+    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(7);
+    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(8);
+    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(9);
+    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(10);
+    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(11);
+    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(12);
+    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();
+    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/BatchGetAssetsHistoryResponse.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponse.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/BatchGetAssetsHistoryResponse.java
rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponse.java
index 6423598cf3c4..5a2b35df8e19 100644
--- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponse.java
+++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponse.java
@@ -1,52 +1,74 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
+ *
+ *
  * 
  * Batch get assets history response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.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.v1p2beta1.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.class, + com.google.cloud.asset.v1p2beta1.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.
    * 
@@ -58,6 +80,8 @@ public java.util.List getAssetsL return assets_; } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -65,11 +89,13 @@ public java.util.List getAssetsL * repeated .google.cloud.asset.v1p2beta1.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.
    * 
@@ -81,6 +107,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -99,12 +129,12 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset getAssets(int index) { * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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; @@ -142,15 +170,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.BatchGetAssetsHistoryResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse other = (com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse) obj; + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse other = + (com.google.cloud.asset.v1p2beta1.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; } @@ -172,131 +200,136 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.BatchGetAssetsHistoryResponse) com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.class, + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.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(); @@ -312,13 +345,14 @@ 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_BatchGetAssetsHistoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse + getDefaultInstanceForType() { return com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.getDefaultInstance(); } @@ -333,14 +367,18 @@ public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse buildPartial() { - com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result = new com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse(this); + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result = + new com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result) { if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -352,7 +390,8 @@ private void buildPartialRepeatedFields(com.google.cloud.asset.v1p2beta1.BatchGe } } - private void buildPartial0(com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result) { + private void buildPartial0( + com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse result) { int from_bitField0_ = bitField0_; } @@ -360,38 +399,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistor public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.BatchGetAssetsHistoryResponse) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse) other); } else { super.mergeFrom(other); return this; @@ -399,7 +439,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse other) { - if (other == com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse.getDefaultInstance()) + return this; if (assetsBuilder_ == null) { if (!other.assets_.isEmpty()) { if (assets_.isEmpty()) { @@ -418,9 +460,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryR 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_); } @@ -452,25 +495,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p2beta1.TemporalAsset m = - input.readMessage( - com.google.cloud.asset.v1p2beta1.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.v1p2beta1.TemporalAsset m = + input.readMessage( + com.google.cloud.asset.v1p2beta1.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) { @@ -480,21 +524,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.v1p2beta1.TemporalAsset, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1p2beta1.TemporalAsset, + com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, + com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder> + assetsBuilder_; /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -509,6 +560,8 @@ public java.util.List getAssetsL } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -523,6 +576,8 @@ public int getAssetsCount() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -537,14 +592,15 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset getAssets(int index) { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1p2beta1.TemporalAsset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1p2beta1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -558,6 +614,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -576,6 +634,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -596,14 +656,15 @@ public Builder addAssets(com.google.cloud.asset.v1p2beta1.TemporalAsset value) { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1p2beta1.TemporalAsset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1p2beta1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,6 +678,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -635,6 +698,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -653,6 +718,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -663,8 +730,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); @@ -672,6 +738,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -689,6 +757,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -706,39 +776,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +821,8 @@ public com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilde } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -753,49 +830,55 @@ public com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilde * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ public com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p2beta1.TemporalAsset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1p2beta1.TemporalAsset.getDefaultInstance()); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p2beta1.TemporalAsset.getDefaultInstance()); + public com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1p2beta1.TemporalAsset.getDefaultInstance()); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1p2beta1.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.v1p2beta1.TemporalAsset, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder> + com.google.cloud.asset.v1p2beta1.TemporalAsset, + com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, + com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.TemporalAsset, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.TemporalAsset, + com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder, + com.google.cloud.asset.v1p2beta1.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); } @@ -805,41 +888,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse) - private static final com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse(); } - public static com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse getDefaultInstance() { + public static com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse + getDefaultInstance() { 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; @@ -851,9 +936,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse + 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/BatchGetAssetsHistoryResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponseOrBuilder.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/BatchGetAssetsHistoryResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponseOrBuilder.java index c7a57cc74054..6f8e7eae6382 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponseOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/BatchGetAssetsHistoryResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface BatchGetAssetsHistoryResponseOrBuilder extends +public interface BatchGetAssetsHistoryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.TemporalAsset assets = 1; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1p2beta1.TemporalAsset assets = 1; */ - com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder getAssetsOrBuilder(int index); } 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..7548a5dac161 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 f0564a2297e5..0cbf676083f4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFeedRequest(); } - 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
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -65,14 +88,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
@@ -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,15 +123,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 @@ -117,30 +144,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 { @@ -151,6 +178,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: projects/project_number/feeds/feed_id
@@ -158,7 +187,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 @@ -166,6 +197,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
@@ -173,7 +206,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 @@ -181,6 +216,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: projects/project_number/feeds/feed_id
@@ -188,7 +225,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() { @@ -196,6 +234,7 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +246,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -234,8 +272,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; @@ -245,21 +282,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; @@ -286,131 +321,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(); @@ -426,9 +465,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 @@ -447,8 +486,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; } @@ -462,9 +504,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(); } } @@ -472,38 +512,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; @@ -511,7 +552,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; @@ -551,29 +593,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) { @@ -583,10 +627,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
@@ -596,13 +643,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; @@ -611,6 +658,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
@@ -620,15 +669,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 { @@ -636,6 +684,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
@@ -645,18 +695,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
@@ -666,6 +720,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -675,6 +730,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
@@ -684,12 +741,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; @@ -699,19 +758,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; @@ -720,21 +781,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 { @@ -742,30 +804,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() { @@ -775,18 +844,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; @@ -796,8 +869,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: projects/project_number/feeds/feed_id
@@ -805,13 +883,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: projects/project_number/feeds/feed_id
@@ -819,7 +901,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() { @@ -830,6 +914,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: projects/project_number/feeds/feed_id
@@ -837,7 +923,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) { @@ -853,6 +940,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: projects/project_number/feeds/feed_id
@@ -860,10 +949,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 { @@ -874,6 +963,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
@@ -881,13 +972,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; @@ -900,6 +992,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: projects/project_number/feeds/feed_id
@@ -907,7 +1001,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); @@ -920,6 +1015,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
@@ -927,7 +1024,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; @@ -935,6 +1033,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: projects/project_number/feeds/feed_id
@@ -942,17 +1042,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: projects/project_number/feeds/feed_id
@@ -960,24 +1062,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); } @@ -987,12 +1093,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(); } @@ -1001,27 +1107,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; @@ -1036,6 +1142,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 0e760d5ea3d6..02ce49a5cb95 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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: projects/project_number/feeds/feed_id
@@ -65,11 +93,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: projects/project_number/feeds/feed_id
@@ -77,11 +109,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: projects/project_number/feeds/feed_id
@@ -89,7 +125,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 2acafba5d1d9..3a804cee1702 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,48 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -50,7 +68,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 @@ -59,14 +80,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
@@ -74,17 +96,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 { @@ -93,6 +116,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +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.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; } @@ -157,127 +180,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(); @@ -287,9 +310,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 @@ -308,8 +331,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; } @@ -325,38 +351,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; @@ -364,7 +391,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; @@ -396,17 +424,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) { @@ -416,10 +446,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
@@ -427,14 +460,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; @@ -443,6 +478,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
@@ -450,16 +487,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 { @@ -467,6 +505,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
@@ -474,19 +514,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
@@ -494,7 +540,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() { @@ -504,6 +553,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
@@ -511,22 +562,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); } @@ -536,12 +591,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(); } @@ -550,27 +605,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; @@ -585,6 +640,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..e31c3286795a --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/ExportAssetsResponse.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponse.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/ExportAssetsResponse.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponse.java index 141045967b2b..5effd9dc7565 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponse.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * The export asset response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -14,46 +31,50 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.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.v1p2beta1.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.class,
+            com.google.cloud.asset.v1p2beta1.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 @@ -61,11 +82,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -73,6 +97,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -87,11 +113,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p2beta1.OutputConfig outputConfig_; /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p2beta1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -99,18 +128,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p2beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.OutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -119,10 +155,13 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig getOutputConfig() { */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { - return outputConfig_ == null ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,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 (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -152,12 +190,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()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -167,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.ExportAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.ExportAssetsResponse other = (com.google.cloud.asset.v1p2beta1.ExportAssetsResponse) obj; + com.google.cloud.asset.v1p2beta1.ExportAssetsResponse other = + (com.google.cloud.asset.v1p2beta1.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,98 +244,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.ExportAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.ExportAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.ExportAssetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.ExportAssetsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.ExportAssetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.ExportAssetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.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.v1p2beta1.ExportAssetsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p2beta1.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]
@@ -311,33 +352,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.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.v1p2beta1.ExportAssetsResponse)
       com.google.cloud.asset.v1p2beta1.ExportAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.class,
+              com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.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();
@@ -356,9 +396,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_ExportAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -377,8 +417,11 @@ public com.google.cloud.asset.v1p2beta1.ExportAssetsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.ExportAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1p2beta1.ExportAssetsResponse result = new com.google.cloud.asset.v1p2beta1.ExportAssetsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p2beta1.ExportAssetsResponse result =
+          new com.google.cloud.asset.v1p2beta1.ExportAssetsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -386,14 +429,11 @@ public com.google.cloud.asset.v1p2beta1.ExportAssetsResponse buildPartial() {
     private void buildPartial0(com.google.cloud.asset.v1p2beta1.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();
       }
     }
 
@@ -401,38 +441,39 @@ private void buildPartial0(com.google.cloud.asset.v1p2beta1.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.v1p2beta1.ExportAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.ExportAssetsResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.ExportAssetsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,7 +481,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ExportAssetsResponse other) {
-      if (other == com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1p2beta1.ExportAssetsResponse.getDefaultInstance())
+        return this;
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
@@ -473,26 +515,25 @@ 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
-            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
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,28 +543,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() { @@ -534,6 +585,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -554,14 +607,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 { @@ -572,6 +626,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -580,9 +636,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; @@ -595,6 +651,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -612,6 +670,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -624,6 +684,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -634,11 +696,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.
      * 
@@ -646,14 +709,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_; @@ -661,34 +727,47 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1p2beta1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.OutputConfig, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1p2beta1.OutputConfig, + com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p2beta1.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.v1p2beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ public com.google.cloud.asset.v1p2beta1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -709,6 +788,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p2beta1.OutputConfig val return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -727,6 +808,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -735,9 +818,10 @@ public Builder setOutputConfig( */ public Builder mergeOutputConfig(com.google.cloud.asset.v1p2beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - outputConfig_ != null && - outputConfig_ != com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && outputConfig_ != null + && outputConfig_ + != com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance()) { getOutputConfigBuilder().mergeFrom(value); } else { outputConfig_ = value; @@ -750,6 +834,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p2beta1.OutputConfig v return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -767,6 +853,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -779,6 +867,8 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig.Builder getOutputConfigBuil return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -789,11 +879,14 @@ public com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder getOutputConfigOrB if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -801,21 +894,24 @@ public com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder getOutputConfigOrB * .google.cloud.asset.v1p2beta1.OutputConfig output_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.OutputConfig, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder> + com.google.cloud.asset.v1p2beta1.OutputConfig, + com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.OutputConfig, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.OutputConfig, + com.google.cloud.asset.v1p2beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder>( + 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); } @@ -825,12 +921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.ExportAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.ExportAssetsResponse) private static final com.google.cloud.asset.v1p2beta1.ExportAssetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.ExportAssetsResponse(); } @@ -839,27 +935,27 @@ public static com.google.cloud.asset.v1p2beta1.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; @@ -874,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ExportAssetsResponse 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/ExportAssetsResponseOrBuilder.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponseOrBuilder.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/ExportAssetsResponseOrBuilder.java rename to java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponseOrBuilder.java index ecd65e0c132b..29fab6d63b87 100644 --- a/owl-bot-staging/java-asset/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponseOrBuilder.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ExportAssetsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface ExportAssetsResponseOrBuilder extends +public interface ExportAssetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.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.v1p2beta1.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.v1p2beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ com.google.cloud.asset.v1p2beta1.OutputConfig getOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
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 fc2caae3d445..a15f9a37d1ae 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,48 +31,51 @@
  *
  * 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.emptyList();
-    assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
     contentType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Feed();
   }
 
-  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
@@ -67,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -75,14 +96,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
@@ -94,16 +116,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 { @@ -112,10 +133,13 @@ public java.lang.String getName() { } public static final int ASSET_NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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 +152,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 +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
@@ -165,6 +194,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 +202,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,19 +216,22 @@ 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.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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
@@ -208,13 +243,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
@@ -226,12 +263,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
@@ -243,6 +283,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. */ @@ -250,6 +291,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
@@ -261,51 +304,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 @@ -313,32 +370,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; @@ -350,8 +421,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -361,7 +431,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) { @@ -395,13 +466,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; @@ -411,24 +481,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; @@ -462,99 +528,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.
@@ -565,42 +635,39 @@ 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();
       bitField0_ = 0;
       name_ = "";
-      assetNames_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      assetTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       contentType_ = 0;
       feedOutputConfig_ = null;
       if (feedOutputConfigBuilder_ != null) {
@@ -611,9 +678,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
@@ -632,8 +699,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p2beta1.Feed result =
+          new com.google.cloud.asset.v1p2beta1.Feed(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -655,9 +725,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();
       }
     }
 
@@ -665,38 +734,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;
@@ -762,41 +832,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) {
@@ -806,10 +881,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
@@ -821,13 +899,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; @@ -836,6 +914,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -847,15 +927,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 { @@ -863,6 +942,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -874,18 +955,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
@@ -897,6 +982,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -906,6 +992,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -917,12 +1005,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; @@ -932,6 +1022,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetNamesIsMutable() { if (!assetNames_.isModifiable()) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); @@ -939,6 +1030,8 @@ private void ensureAssetNamesIsMutable() { 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
@@ -951,14 +1044,16 @@ 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() { assetNames_.makeImmutable(); 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
@@ -971,12 +1066,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
@@ -989,6 +1087,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. */ @@ -996,6 +1095,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
@@ -1008,14 +1109,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
@@ -1028,13 +1131,15 @@ 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); bitField0_ |= 0x00000002; @@ -1042,6 +1147,8 @@ public Builder setAssetNames( 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
@@ -1054,12 +1161,14 @@ 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); bitField0_ |= 0x00000002; @@ -1067,6 +1176,8 @@ public Builder addAssetNames( 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
@@ -1079,19 +1190,20 @@ 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_); bitField0_ |= 0x00000002; 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
@@ -1104,16 +1216,19 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { - assetNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + assetNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; 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
@@ -1126,12 +1241,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); @@ -1142,6 +1259,7 @@ public Builder addAssetNamesBytes( private com.google.protobuf.LazyStringArrayList assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAssetTypesIsMutable() { if (!assetTypes_.isModifiable()) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); @@ -1149,6 +1267,8 @@ private void ensureAssetTypesIsMutable() { 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
@@ -1160,14 +1280,16 @@ 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() { assetTypes_.makeImmutable(); 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
@@ -1179,12 +1301,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
@@ -1196,6 +1321,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. */ @@ -1203,6 +1329,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
@@ -1214,14 +1342,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
@@ -1233,13 +1363,15 @@ 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); bitField0_ |= 0x00000004; @@ -1247,6 +1379,8 @@ public Builder setAssetTypes( 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
@@ -1258,12 +1392,14 @@ 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); bitField0_ |= 0x00000004; @@ -1271,6 +1407,8 @@ public Builder addAssetTypes( 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
@@ -1282,19 +1420,20 @@ 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_); bitField0_ |= 0x00000004; 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
@@ -1306,16 +1445,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; 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
@@ -1327,12 +1469,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); @@ -1343,24 +1487,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. */ @@ -1371,26 +1522,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. */ @@ -1404,12 +1562,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() { @@ -1421,42 +1582,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) { @@ -1472,12 +1652,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) { @@ -1491,18 +1675,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; @@ -1515,12 +1704,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); @@ -1533,12 +1726,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; @@ -1546,45 +1743,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); } @@ -1594,12 +1804,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(); } @@ -1608,27 +1818,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; @@ -1643,6 +1853,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 02a114b578cc..15259b7c6ea5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -19,10 +37,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
@@ -34,12 +55,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
@@ -52,11 +75,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
@@ -69,10 +94,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
@@ -85,11 +113,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
@@ -102,13 +133,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
@@ -120,11 +153,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
@@ -136,10 +171,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
@@ -151,11 +189,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
@@ -167,60 +208,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 8ec64bc2391c..9fb05b78fcf7 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,29 +88,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.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -96,21 +123,26 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .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 Pub/Sub.
    * 
@@ -118,14 +150,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; @@ -137,8 +171,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +185,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; @@ -163,18 +197,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: @@ -204,131 +238,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(); @@ -342,9 +380,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 @@ -363,8 +401,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; @@ -377,8 +418,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(); } } @@ -387,38 +427,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; @@ -426,15 +467,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(); @@ -462,19 +506,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) { @@ -484,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() { @@ -502,13 +547,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 Pub/Sub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -516,11 +567,14 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ @java.lang.Override @@ -538,6 +592,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -558,6 +614,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDesti return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -576,18 +634,25 @@ public Builder setPubsubDestination( return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
* * .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; } @@ -603,6 +668,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDes return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -626,16 +693,21 @@ public Builder clearPubsubDestination() { return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
* * .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 Pub/Sub.
      * 
@@ -643,7 +715,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 { @@ -654,6 +727,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDest } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -661,14 +736,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()); @@ -678,9 +758,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); } @@ -690,12 +770,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(); } @@ -704,27 +784,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; @@ -739,6 +819,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 62% 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 4b075d67328c..15ebfa326e88 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 Pub/Sub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination(); /** + * + * *
    * Destination on Pub/Sub.
    * 
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 8aad6a11f4d6..58c0817eeab3 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,24 +88,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
@@ -93,12 +119,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
@@ -108,6 +137,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -118,8 +148,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; @@ -128,6 +157,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
@@ -137,18 +168,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; } @@ -159,6 +189,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -195,18 +225,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: @@ -235,132 +265,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(); @@ -371,9 +405,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 @@ -392,8 +426,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; @@ -412,38 +449,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; @@ -451,17 +489,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(); @@ -489,18 +530,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) { @@ -510,12 +553,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() { @@ -528,6 +571,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
@@ -537,6 +582,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -544,6 +590,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
@@ -553,6 +601,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -562,8 +611,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; @@ -574,6 +622,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
@@ -583,19 +633,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; } @@ -605,6 +654,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
@@ -614,18 +665,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
@@ -635,6 +690,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -646,6 +702,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
@@ -655,21 +713,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); } @@ -679,12 +739,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(); } @@ -693,27 +753,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; @@ -728,6 +788,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 f47a91a1c72b..313231179c53 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); 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 ad47fe695332..745057e6db5d 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,7 +76,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 @@ -63,14 +88,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
@@ -78,17 +104,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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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; } @@ -160,132 +187,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(); @@ -295,9 +326,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 @@ -316,8 +347,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; } @@ -333,38 +367,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; @@ -372,7 +407,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; @@ -404,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -424,10 +462,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
@@ -435,14 +476,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; @@ -451,6 +494,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
@@ -458,16 +503,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 { @@ -475,6 +521,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
@@ -482,19 +530,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
@@ -502,7 +556,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() { @@ -512,6 +569,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
@@ -519,22 +578,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); } @@ -544,12 +607,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(); } @@ -558,27 +621,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; @@ -593,6 +656,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..8e6a8a7b773d --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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 ab6cafad49b9..cb40b13cd8b6 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -62,14 +85,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
@@ -77,16 +101,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 { @@ -95,6 +118,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -131,15 +154,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; } @@ -159,131 +182,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(); @@ -293,9 +320,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 @@ -314,8 +341,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; } @@ -331,38 +361,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; @@ -370,7 +401,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; @@ -402,17 +434,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) { @@ -422,10 +456,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
@@ -433,13 +470,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; @@ -448,6 +485,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
@@ -455,15 +494,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 { @@ -471,6 +509,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
@@ -478,18 +518,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
@@ -497,6 +541,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -506,6 +551,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
@@ -513,21 +560,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); } @@ -537,12 +586,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(); } @@ -551,27 +600,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; @@ -586,6 +635,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..0926b6e0c437 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 69% 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 87134862bcd7..9a345337c8b7 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,48 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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.
    * 
@@ -54,6 +72,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -61,11 +81,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.
    * 
@@ -77,6 +99,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -88,6 +112,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -95,12 +121,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; @@ -112,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -127,8 +152,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; @@ -138,15 +162,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; } @@ -168,127 +192,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(); @@ -304,9 +328,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 @@ -325,14 +349,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_); @@ -352,38 +380,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; @@ -391,7 +420,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()) { @@ -410,9 +440,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_); } @@ -444,25 +475,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) { @@ -472,21 +504,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.
      * 
@@ -501,6 +540,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -515,6 +556,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -529,14 +572,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(); @@ -550,6 +594,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -568,6 +614,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -588,14 +636,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(); @@ -609,14 +658,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()); @@ -627,6 +677,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -645,6 +697,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -655,8 +709,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); @@ -664,6 +717,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -681,6 +736,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -698,39 +755,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 { @@ -738,6 +800,8 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -745,49 +809,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); } @@ -797,12 +866,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(); } @@ -811,27 +880,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; @@ -846,6 +915,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..202e02233ae6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 e24dda65c5bb..a8b9da2bc7d9 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,29 +88,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 @@ -96,21 +123,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.
    * 
@@ -120,12 +152,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; @@ -137,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +184,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; @@ -163,18 +196,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: @@ -203,132 +236,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(); @@ -342,9 +379,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 @@ -363,8 +400,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; @@ -377,8 +417,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(); } } @@ -387,38 +426,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; @@ -428,13 +468,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(); @@ -462,19 +504,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) { @@ -484,12 +526,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() { @@ -502,13 +544,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 @@ -516,11 +564,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 @@ -538,6 +589,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -558,6 +611,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -576,6 +631,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -584,10 +641,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; } @@ -603,6 +664,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -626,6 +689,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -636,6 +701,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -654,6 +721,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -661,14 +730,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()); @@ -678,9 +752,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); } @@ -690,12 +764,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(); } @@ -704,27 +778,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; @@ -739,6 +813,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 8898498499aa..1a4f12828a7b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 30e813a63dcb..1844ea1fcccb 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,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A Pub/Sub 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(); } - 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 Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -61,30 +84,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.
    * 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 { @@ -93,6 +116,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -129,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.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; } @@ -157,131 +180,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 Pub/Sub 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(); @@ -291,9 +318,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 @@ -312,8 +339,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; } @@ -329,38 +359,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; @@ -368,7 +399,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; @@ -400,17 +432,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) { @@ -420,23 +454,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.
      * 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; @@ -445,21 +482,22 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the 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 { @@ -467,30 +505,37 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the 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 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() { @@ -500,27 +545,31 @@ public Builder clearTopic() { return this; } /** + * + * *
      * The name of the 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); } @@ -530,12 +579,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(); } @@ -544,27 +593,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; @@ -579,6 +628,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 831ec1bb18e3..a02ea1ae9719 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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 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 77f59ee50c1a..adc5b3e74928 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A representation of a Google 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,33 +47,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(); } - 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 @@ -64,29 +87,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 { @@ -95,9 +118,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:
@@ -108,6 +134,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -116,14 +143,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:
@@ -134,16 +162,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 { @@ -152,9 +179,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`
@@ -164,6 +194,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -172,14 +203,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`
@@ -189,16 +221,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 { @@ -207,9 +238,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:
@@ -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
@@ -281,6 +319,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -289,14 +328,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
@@ -313,16 +353,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 { @@ -333,12 +372,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 @@ -346,12 +388,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 @@ -359,6 +404,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.
@@ -372,6 +419,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -383,8 +431,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -428,8 +475,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;
@@ -439,27 +485,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;
@@ -491,132 +532,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;
   }
   /**
+   *
+   *
    * 
    * A representation of a Google 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(); @@ -635,9 +680,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 @@ -656,8 +701,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; } @@ -680,9 +728,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(); } } @@ -690,38 +736,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; @@ -784,44 +831,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) { @@ -831,22 +883,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; @@ -855,20 +910,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 { @@ -876,28 +932,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() { @@ -907,17 +970,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; @@ -927,6 +994,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -937,13 +1006,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; @@ -952,6 +1021,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -962,15 +1033,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 { @@ -978,6 +1048,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -988,18 +1060,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:
@@ -1010,6 +1086,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1019,6 +1096,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1029,12 +1108,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; @@ -1044,6 +1125,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1053,13 +1136,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; @@ -1068,6 +1151,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1077,15 +1162,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 { @@ -1093,6 +1177,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1102,18 +1188,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { - 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`
@@ -1123,6 +1213,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1132,6 +1223,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1141,12 +1234,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; @@ -1156,6 +1251,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:
@@ -1165,13 +1262,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; @@ -1180,6 +1277,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:
@@ -1189,15 +1288,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 { @@ -1205,6 +1303,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:
@@ -1214,18 +1314,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:
@@ -1235,6 +1339,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1244,6 +1349,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:
@@ -1253,12 +1360,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; @@ -1268,6 +1377,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1284,13 +1395,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; @@ -1299,6 +1410,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1315,15 +1428,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 { @@ -1331,6 +1443,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1347,18 +1461,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
@@ -1375,6 +1493,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1384,6 +1503,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1400,12 +1521,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; @@ -1415,26 +1538,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() { @@ -1445,6 +1577,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1466,6 +1600,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.
@@ -1473,8 +1609,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 {
@@ -1485,6 +1620,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1494,9 +1631,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;
@@ -1509,6 +1646,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.
@@ -1527,6 +1666,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1540,6 +1681,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.
@@ -1551,11 +1694,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.
@@ -1564,21 +1708,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);
     }
 
@@ -1588,12 +1734,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();
   }
@@ -1602,27 +1748,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;
@@ -1637,6 +1783,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 82%
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 2b21d4c616d1..25ef4f1c25cd 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.
    * Example:
@@ -38,10 +61,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:
@@ -52,12 +78,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`
@@ -67,10 +95,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`
@@ -80,12 +111,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:
@@ -95,10 +128,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:
@@ -108,12 +144,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
@@ -130,10 +168,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
@@ -150,32 +191,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/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 b08c99c58bd6..ea2553eb8ed9 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
+ *
+ *
  * 
  * An asset in Google Cloud and its temporal metadata, including the time window
  * when it was observed and its status during that window.
@@ -11,46 +28,50 @@
  *
  * 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();
   }
 
-  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 @@ -58,18 +79,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.
    * 
@@ -78,17 +106,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; /** + * + * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -99,11 +132,14 @@ public boolean getDeleted() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Asset asset_; /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return Whether the asset field is set. */ @java.lang.Override @@ -111,11 +147,14 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ @java.lang.Override @@ -123,6 +162,8 @@ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * An asset in Google Cloud.
    * 
@@ -135,6 +176,7 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -167,16 +208,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; @@ -186,24 +224,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; @@ -221,8 +257,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(); @@ -232,99 +267,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; } /** + * + * *
    * An asset in Google Cloud and its temporal metadata, including the time window
    * when it was observed and its status during that window.
@@ -332,33 +372,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();
@@ -378,9 +417,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
@@ -399,8 +438,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;
     }
@@ -408,17 +450,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();
       }
     }
 
@@ -426,38 +464,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;
@@ -501,31 +540,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) {
@@ -535,38 +574,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.
      * 
@@ -587,14 +640,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 { @@ -605,6 +659,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -613,9 +669,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; @@ -628,6 +684,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -645,6 +703,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -657,6 +717,8 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow.Builder getWindowBuilder() { return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -667,11 +729,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.
      * 
@@ -679,26 +744,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_; /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -706,11 +777,14 @@ 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. */ @@ -722,11 +796,14 @@ public Builder setDeleted(boolean value) { return this; } /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { @@ -738,34 +815,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_; /** + * + * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1p2beta1.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.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(); } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -786,14 +876,15 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
* * .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 { @@ -804,6 +895,8 @@ public Builder setAsset( return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -812,9 +905,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; @@ -827,6 +920,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -844,6 +939,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -856,6 +953,8 @@ public com.google.cloud.asset.v1p2beta1.Asset.Builder getAssetBuilder() { return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -866,11 +965,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_; } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -878,21 +980,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); } @@ -902,12 +1007,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(); } @@ -916,27 +1021,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; @@ -951,6 +1056,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 71% 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 d0121e64c580..07c1eafda7b5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); /** + * + * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ boolean getDeleted(); /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return Whether the asset field is set. */ boolean hasAsset(); /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ com.google.cloud.asset.v1p2beta1.Asset getAsset(); /** + * + * *
    * An asset in Google Cloud.
    * 
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 70% 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 59a789c63751..68921e064ff7 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A time window specified by its `start_time` and `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(); } - 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 @@ -57,11 +78,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 @@ -69,6 +93,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -83,12 +109,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 @@ -96,12 +125,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 @@ -109,6 +141,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.
@@ -122,6 +156,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -133,8 +168,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -151,12 +185,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;
@@ -166,22 +198,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;
@@ -207,132 +238,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 specified by its `start_time` and `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(); @@ -351,9 +386,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 @@ -372,8 +407,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; } @@ -381,14 +419,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(); } } @@ -396,38 +430,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; @@ -468,26 +503,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) { @@ -497,28 +531,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() { @@ -529,6 +573,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -549,14 +595,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 { @@ -567,6 +614,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -575,9 +624,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; @@ -590,6 +639,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -607,6 +658,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -619,6 +672,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -629,11 +684,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).
      * 
@@ -641,14 +697,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_; @@ -656,26 +715,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() { @@ -686,6 +754,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -707,6 +777,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.
@@ -714,8 +786,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 {
@@ -726,6 +797,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -735,9 +808,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;
@@ -750,6 +823,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.
@@ -768,6 +843,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -781,6 +858,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.
@@ -792,11 +871,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.
@@ -805,21 +885,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);
     }
 
@@ -829,12 +912,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();
   }
@@ -843,27 +926,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;
@@ -878,6 +961,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 71%
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 d334bfc2abf2..851826a051f9 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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). 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/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 2d221598055c..b974dc6c364e 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,50 +1,70 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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:
@@ -53,7 +73,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 @@ -61,6 +83,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:
@@ -69,7 +93,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 @@ -77,6 +103,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:
@@ -85,7 +113,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() { @@ -95,13 +124,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 @@ -109,13 +142,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 @@ -123,13 +160,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() { @@ -137,6 +177,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -166,12 +206,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; @@ -181,22 +219,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; @@ -223,131 +260,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(); @@ -366,9 +407,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 @@ -387,8 +428,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; } @@ -396,14 +440,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(); } } @@ -411,38 +451,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; @@ -450,7 +491,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()); } @@ -483,26 +525,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) { @@ -512,12 +553,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:
@@ -526,13 +573,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:
@@ -541,7 +592,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() { @@ -552,6 +605,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:
@@ -560,7 +615,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) { @@ -576,6 +632,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:
@@ -584,10 +642,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 { @@ -598,6 +656,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:
@@ -606,13 +666,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; @@ -625,6 +686,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:
@@ -633,7 +696,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); @@ -646,6 +710,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:
@@ -654,7 +720,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; @@ -662,6 +729,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:
@@ -670,17 +739,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:
@@ -689,17 +760,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_; @@ -707,45 +782,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) { @@ -761,16 +852,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 { @@ -781,19 +874,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; @@ -806,13 +902,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); @@ -825,13 +924,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; @@ -839,47 +941,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); } @@ -889,12 +1001,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(); } @@ -903,27 +1015,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; @@ -938,6 +1050,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 26ec87c8239c..c8f796bc22d4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 2f49ea3c6c5c..b3abfa9161db 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,54 +34,59 @@
  *
  * 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_ = "";
     orgPolicy_ = java.util.Collections.emptyList();
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -80,28 +102,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`
@@ -112,6 +141,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -120,14 +150,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`
@@ -138,16 +169,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 { @@ -156,9 +186,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`
    *
@@ -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`
    *
@@ -193,16 +228,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 { @@ -213,11 +247,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 @@ -225,18 +262,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.
    * 
@@ -245,12 +289,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.
@@ -264,6 +312,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 @@ -271,6 +320,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.
@@ -284,6 +335,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -291,6 +343,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.
@@ -311,9 +365,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).
@@ -328,6 +385,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).
@@ -338,11 +397,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).
@@ -357,6 +418,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).
@@ -371,6 +434,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).
@@ -381,19 +446,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 @@ -401,22 +468,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).
@@ -425,21 +497,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 @@ -447,22 +523,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).
@@ -471,21 +552,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 @@ -493,22 +578,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).
@@ -517,18 +607,22 @@ 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.LazyStringArrayList ancestors_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -541,13 +635,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),
@@ -560,12 +656,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),
@@ -578,6 +677,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -585,6 +685,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),
@@ -597,15 +699,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; @@ -617,8 +720,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -635,13 +737,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)); @@ -662,28 +767,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; @@ -701,44 +807,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: @@ -795,99 +892,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
@@ -901,33 +1003,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,17 +1061,16 @@ public Builder clear() {
       if (servicePerimeterBuilder_ != null) {
         servicePerimeterBuilder_.clear();
       }
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       accessContextPolicyCase_ = 0;
       accessContextPolicy_ = null;
       return this;
     }
 
     @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
@@ -989,9 +1089,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;
@@ -1018,14 +1121,10 @@ 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();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         ancestors_.makeImmutable();
@@ -1036,16 +1135,13 @@ private void buildPartial0(com.google.cloud.asset.v1p5beta1.Asset result) {
     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();
       }
     }
@@ -1054,38 +1150,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;
@@ -1128,9 +1225,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_);
           }
@@ -1147,21 +1245,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();
@@ -1189,76 +1291,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) {
@@ -1268,12 +1370,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() {
@@ -1287,6 +1389,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`
@@ -1297,13 +1401,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; @@ -1312,6 +1416,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1322,15 +1428,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 { @@ -1338,6 +1443,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1348,18 +1455,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`
@@ -1370,6 +1481,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1379,6 +1491,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1389,12 +1503,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; @@ -1404,6 +1520,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1413,13 +1531,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; @@ -1428,6 +1546,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1437,15 +1557,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 { @@ -1453,6 +1572,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1462,18 +1583,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`
      *
@@ -1483,6 +1608,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1492,6 +1618,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1501,12 +1629,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; @@ -1516,34 +1646,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.
      * 
@@ -1564,14 +1707,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 { @@ -1582,6 +1726,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1590,9 +1736,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; @@ -1605,6 +1751,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1622,6 +1770,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1634,6 +1784,8 @@ public com.google.cloud.asset.v1p5beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -1644,11 +1796,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.
      * 
@@ -1656,14 +1811,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_; @@ -1671,8 +1829,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.
@@ -1686,12 +1849,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.
@@ -1705,6 +1871,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1715,6 +1882,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.
@@ -1743,6 +1912,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.
@@ -1757,8 +1928,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 {
@@ -1769,6 +1939,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.
@@ -1785,9 +1957,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;
@@ -1800,6 +1972,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.
@@ -1825,6 +1999,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.
@@ -1845,6 +2021,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.
@@ -1863,11 +2041,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.
@@ -1883,32 +2062,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).
@@ -1926,6 +2114,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -1943,6 +2133,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -1960,6 +2152,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).
@@ -1969,8 +2163,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();
@@ -1984,6 +2177,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2005,6 +2200,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2028,6 +2225,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).
@@ -2037,8 +2236,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();
@@ -2052,6 +2250,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2061,8 +2261,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());
@@ -2073,6 +2272,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2094,6 +2295,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2107,8 +2310,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);
@@ -2116,6 +2318,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2136,6 +2340,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2156,6 +2362,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).
@@ -2165,11 +2373,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).
@@ -2179,14 +2388,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).
@@ -2196,8 +2407,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 {
@@ -2205,6 +2416,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).
@@ -2215,10 +2428,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).
@@ -2228,12 +2443,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).
@@ -2243,34 +2459,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 @@ -2278,12 +2502,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 @@ -2301,6 +2528,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).
@@ -2322,6 +2551,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).
@@ -2341,6 +2572,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).
@@ -2348,12 +2581,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;
         }
@@ -2369,6 +2608,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).
@@ -2393,6 +2634,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).
@@ -2400,10 +2643,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).
@@ -2412,7 +2658,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 {
@@ -2423,6 +2670,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).
@@ -2431,14 +2680,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());
@@ -2450,14 +2705,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 @@ -2465,12 +2726,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 @@ -2488,6 +2752,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).
@@ -2509,6 +2775,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).
@@ -2528,6 +2796,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).
@@ -2537,10 +2807,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;
         }
@@ -2556,6 +2831,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).
@@ -2580,6 +2857,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).
@@ -2591,6 +2870,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).
@@ -2599,7 +2880,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 {
@@ -2610,6 +2892,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).
@@ -2618,14 +2902,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());
@@ -2637,14 +2927,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 @@ -2652,19 +2948,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 { @@ -2675,6 +2975,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).
@@ -2682,7 +2984,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();
@@ -2696,6 +2999,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).
@@ -2715,6 +3020,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2722,12 +3029,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;
         }
@@ -2743,6 +3057,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).
@@ -2767,6 +3083,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -2774,10 +3092,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).
@@ -2786,17 +3107,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).
@@ -2805,14 +3130,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());
@@ -2825,6 +3156,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
 
     private com.google.protobuf.LazyStringArrayList ancestors_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAncestorsIsMutable() {
       if (!ancestors_.isModifiable()) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
@@ -2832,6 +3164,8 @@ private void ensureAncestorsIsMutable() {
       bitField0_ |= 0x00000100;
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2844,14 +3178,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2864,12 +3200,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),
@@ -2882,6 +3221,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -2889,6 +3229,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),
@@ -2901,14 +3243,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),
@@ -2921,13 +3265,15 @@ 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); bitField0_ |= 0x00000100; @@ -2935,6 +3281,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2947,12 +3295,14 @@ 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); bitField0_ |= 0x00000100; @@ -2960,6 +3310,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -2972,19 +3324,20 @@ 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_); bitField0_ |= 0x00000100; 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),
@@ -2997,16 +3350,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; 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),
@@ -3019,12 +3375,14 @@ 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); @@ -3032,9 +3390,9 @@ public Builder addAncestorsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3044,12 +3402,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(); } @@ -3058,27 +3416,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; @@ -3093,6 +3451,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 a48f41988a29..bcfb5d053e1d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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`
@@ -18,10 +36,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`
@@ -32,12 +53,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`
    *
@@ -47,10 +70,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`
    *
@@ -60,30 +86,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.
    * 
@@ -93,6 +127,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.
@@ -106,10 +142,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.
@@ -123,10 +162,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.
@@ -144,6 +186,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).
@@ -153,9 +197,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).
@@ -167,6 +212,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).
@@ -178,6 +225,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).
@@ -187,9 +236,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).
@@ -199,30 +250,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).
@@ -233,26 +291,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).
@@ -263,26 +329,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).
@@ -290,9 +364,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),
@@ -305,11 +382,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),
@@ -322,10 +401,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),
@@ -338,11 +420,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),
@@ -355,11 +440,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); 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..20295bbe48dd --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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..3c71925ac2cf --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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\"\371\001\n\021List" + + "AssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037" + + "cloudasset.googleapis.com/Asset\022-\n\tread_" + + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023" + + "\n\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(" + + "\0162).google.cloud.asset.v1p5beta1.Content" + + "Type\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\006ass" + + "ets\030\002 \003(\0132#.google.cloud.asset.v1p5beta1" + + ".Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conte" + + "ntType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010" + + "RESOURCE\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.v1p5b" + + "eta1.ListAssetsRequest\0320.google.cloud.as" + + "set.v1p5beta1.ListAssetsResponse\"/\332A\006par" + + "ent\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*}/asset" + + "s\032M\312A\031cloudasset.googleapis.com\322A.https:" + + "//www.googleapis.com/auth/cloud-platform" + + "B\255\001\n com.google.cloud.asset.v1p5beta1B\021A" + + "ssetServiceProtoP\001Z6cloud.google.com/go/" + + "asset/apiv1p5beta1/assetpb;assetpb\252\002\034Goo" + + "gle.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..9f98214f75bd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 21517abd2b05..dd3a522ce06b 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,56 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsRequest(); } - 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"),
@@ -58,7 +79,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 @@ -67,14 +91,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"),
@@ -82,17 +107,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 { @@ -103,6 +129,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).
@@ -112,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -119,6 +148,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).
@@ -128,6 +159,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -135,6 +167,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).
@@ -151,10 +185,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList assetTypes_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -177,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".
@@ -206,12 +245,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".
@@ -234,6 +276,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. */ @@ -241,6 +284,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".
@@ -263,51 +308,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 @@ -316,9 +373,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
@@ -326,6 +386,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -334,14 +395,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -349,16 +411,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 { @@ -367,6 +428,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,8 +440,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -389,7 +450,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) { @@ -411,8 +473,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; @@ -422,13 +483,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_); @@ -441,27 +501,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; } @@ -495,131 +551,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(); @@ -630,8 +690,7 @@ public Builder clear() { readTimeBuilder_.dispose(); readTimeBuilder_ = null; } - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; pageSize_ = 0; pageToken_ = ""; @@ -639,9 +698,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 @@ -660,8 +719,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p5beta1.ListAssetsRequest result = + new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -672,9 +734,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_ & 0x00000004) != 0)) { assetTypes_.makeImmutable(); @@ -695,38 +755,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; @@ -734,7 +795,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; @@ -790,45 +852,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) { @@ -838,10 +905,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"),
@@ -849,14 +919,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; @@ -865,6 +937,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"),
@@ -872,16 +946,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 { @@ -889,6 +964,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"),
@@ -896,19 +973,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"),
@@ -916,7 +999,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() { @@ -926,6 +1012,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"),
@@ -933,13 +1021,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; @@ -949,8 +1041,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).
@@ -960,12 +1057,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).
@@ -975,6 +1075,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -985,6 +1086,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).
@@ -1009,6 +1112,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).
@@ -1019,8 +1124,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 {
@@ -1031,6 +1135,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).
@@ -1043,9 +1149,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;
@@ -1058,6 +1164,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).
@@ -1079,6 +1187,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).
@@ -1095,6 +1205,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).
@@ -1109,11 +1221,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).
@@ -1125,14 +1238,17 @@ 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_;
@@ -1140,6 +1256,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList assetTypes_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAssetTypesIsMutable() {
       if (!assetTypes_.isModifiable()) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
@@ -1147,6 +1264,8 @@ private void ensureAssetTypesIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1169,14 +1288,16 @@ 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() { assetTypes_.makeImmutable(); return assetTypes_; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1199,12 +1320,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".
@@ -1227,6 +1351,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. */ @@ -1234,6 +1359,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".
@@ -1256,14 +1383,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".
@@ -1286,13 +1415,15 @@ 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); bitField0_ |= 0x00000004; @@ -1300,6 +1431,8 @@ public Builder setAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1322,12 +1455,14 @@ 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); bitField0_ |= 0x00000004; @@ -1335,6 +1470,8 @@ public Builder addAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1357,19 +1494,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1392,16 +1530,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1424,12 +1565,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); @@ -1440,24 +1583,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. */ @@ -1468,26 +1618,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. */ @@ -1501,12 +1658,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() { @@ -1516,14 +1676,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 @@ -1531,12 +1694,15 @@ 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. */ @@ -1548,12 +1714,15 @@ public Builder setPageSize(int value) { 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() { @@ -1565,6 +1734,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
@@ -1572,13 +1743,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; @@ -1587,6 +1758,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
@@ -1594,15 +1767,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 { @@ -1610,6 +1782,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
@@ -1617,18 +1791,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
@@ -1636,6 +1814,7 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1645,6 +1824,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
@@ -1652,21 +1833,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); } @@ -1676,12 +1859,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(); } @@ -1690,27 +1873,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; @@ -1725,6 +1908,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 60f8f7e75c8f..0a2986af2222 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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".
@@ -95,11 +130,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".
@@ -122,10 +159,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".
@@ -148,11 +188,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".
@@ -175,45 +218,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
@@ -221,10 +275,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
@@ -232,8 +289,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 c8127742f39e..3cee93c61f7e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,32 +44,36 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsResponse(); } - 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 @@ -59,11 +81,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -71,6 +96,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -83,9 +110,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } public static final int ASSETS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -97,6 +127,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -104,11 +136,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.
    * 
@@ -120,6 +154,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -131,6 +167,8 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -138,15 +176,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
@@ -154,6 +194,7 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -162,14 +203,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
@@ -177,16 +219,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 { @@ -195,6 +236,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,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 (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -227,12 +268,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_); @@ -245,22 +284,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; } @@ -288,131 +325,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(); @@ -434,9 +475,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 @@ -455,14 +496,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_); @@ -477,9 +522,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_; @@ -490,38 +533,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; @@ -529,7 +573,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()); } @@ -551,9 +596,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_); } @@ -590,37 +636,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) { @@ -630,28 +677,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() { @@ -662,6 +719,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -682,14 +741,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 { @@ -700,6 +760,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -708,9 +770,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; @@ -723,6 +785,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -740,6 +804,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -752,6 +818,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -762,11 +830,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.
      * 
@@ -774,32 +843,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.
      * 
@@ -814,6 +892,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -828,6 +908,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -842,14 +924,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(); @@ -863,6 +946,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -881,6 +966,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -901,14 +988,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(); @@ -922,14 +1010,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()); @@ -940,6 +1029,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -958,6 +1049,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -968,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); @@ -977,6 +1069,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -994,6 +1088,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1011,39 +1107,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 { @@ -1051,6 +1152,8 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1058,42 +1161,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_; @@ -1101,6 +1209,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
@@ -1108,13 +1218,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; @@ -1123,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
@@ -1130,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 { @@ -1146,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
@@ -1153,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
@@ -1172,6 +1289,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1181,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
@@ -1188,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); } @@ -1212,12 +1334,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(); } @@ -1226,27 +1348,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; @@ -1261,6 +1383,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..f77671b442ee 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 ffdab93519ab..bcce9e7a4138 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,33 +47,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(); } - 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 @@ -64,29 +87,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 { @@ -95,9 +118,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:
@@ -108,6 +134,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -116,14 +143,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:
@@ -134,16 +162,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 { @@ -152,9 +179,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`
@@ -164,6 +194,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -172,14 +203,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`
@@ -189,16 +221,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 { @@ -207,9 +238,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:
@@ -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
@@ -281,6 +319,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -289,14 +328,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
@@ -313,16 +353,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 { @@ -333,12 +372,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 @@ -346,12 +388,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 @@ -359,6 +404,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.
@@ -372,6 +419,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -383,8 +431,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -428,8 +475,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;
@@ -439,27 +485,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;
@@ -491,132 +532,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(); @@ -635,9 +680,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 @@ -656,8 +701,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; } @@ -680,9 +728,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(); } } @@ -690,38 +736,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; @@ -784,44 +831,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) { @@ -831,22 +883,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; @@ -855,20 +910,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 { @@ -876,28 +932,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() { @@ -907,17 +970,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; @@ -927,6 +994,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -937,13 +1006,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; @@ -952,6 +1021,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -962,15 +1033,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 { @@ -978,6 +1048,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -988,18 +1060,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:
@@ -1010,6 +1086,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1019,6 +1096,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1029,12 +1108,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; @@ -1044,6 +1125,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1053,13 +1136,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; @@ -1068,6 +1151,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1077,15 +1162,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 { @@ -1093,6 +1177,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1102,18 +1188,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { - 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`
@@ -1123,6 +1213,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1132,6 +1223,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1141,12 +1234,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; @@ -1156,6 +1251,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:
@@ -1165,13 +1262,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; @@ -1180,6 +1277,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:
@@ -1189,15 +1288,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 { @@ -1205,6 +1303,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:
@@ -1214,18 +1314,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:
@@ -1235,6 +1339,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1244,6 +1349,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:
@@ -1253,12 +1360,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; @@ -1268,6 +1377,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1284,13 +1395,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; @@ -1299,6 +1410,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1315,15 +1428,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 { @@ -1331,6 +1443,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1347,18 +1461,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
@@ -1375,6 +1493,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1384,6 +1503,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1400,12 +1521,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; @@ -1415,26 +1538,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() { @@ -1445,6 +1577,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1466,6 +1600,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.
@@ -1473,8 +1609,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 {
@@ -1485,6 +1620,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1494,9 +1631,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;
@@ -1509,6 +1646,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.
@@ -1527,6 +1666,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1540,6 +1681,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.
@@ -1551,11 +1694,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.
@@ -1564,21 +1708,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);
     }
 
@@ -1588,12 +1734,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();
   }
@@ -1602,27 +1748,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;
@@ -1637,6 +1783,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 cef9e152ee09..f4fae75cc924 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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:
@@ -38,10 +61,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:
@@ -52,12 +78,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`
@@ -67,10 +95,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`
@@ -80,12 +111,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:
@@ -95,10 +128,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:
@@ -108,12 +144,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
@@ -130,10 +168,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
@@ -150,32 +191,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 0ac6a8e1b0fe..cdb9c8e85cd6 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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,54 +34,59 @@
  *
  * 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_ = "";
     orgPolicy_ = java.util.Collections.emptyList();
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Asset();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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;
     }
@@ -80,33 +102,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 @@ -114,12 +143,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 @@ -127,6 +159,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.
@@ -140,9 +174,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`
@@ -153,6 +190,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -161,14 +199,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`
@@ -179,16 +218,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 { @@ -197,9 +235,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`
    *
@@ -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`
    *
@@ -234,16 +277,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 +296,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 @@ -266,18 +311,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.
    * 
@@ -286,12 +338,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.
@@ -305,6 +361,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 @@ -312,6 +369,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 +384,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -332,6 +392,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 +414,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 +434,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 +446,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 +467,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 +483,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 +495,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 +517,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 +546,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 +572,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 +601,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 +627,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 +656,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,12 +667,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 @@ -581,19 +683,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.
@@ -603,14 +712,19 @@ 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.LazyStringArrayList ancestors_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -623,13 +737,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),
@@ -642,12 +758,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),
@@ -660,6 +779,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -667,6 +787,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),
@@ -679,15 +801,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; @@ -699,8 +822,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -717,13 +839,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)); @@ -750,28 +875,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; @@ -782,12 +908,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; @@ -797,7 +921,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); @@ -806,45 +930,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: @@ -909,99 +1022,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
@@ -1015,33 +1133,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,17 +1201,16 @@ public Builder clear() {
         relatedAssetsBuilder_.dispose();
         relatedAssetsBuilder_ = null;
       }
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       accessContextPolicyCase_ = 0;
       accessContextPolicy_ = null;
       return this;
     }
 
     @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
@@ -1113,9 +1229,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;
@@ -1136,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_;
@@ -1147,19 +1264,14 @@ 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();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         ancestors_.makeImmutable();
@@ -1170,16 +1282,13 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.Asset result) {
     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();
       }
     }
@@ -1188,38 +1297,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;
@@ -1265,9 +1375,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_);
           }
@@ -1287,21 +1398,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();
@@ -1329,90 +1444,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) {
@@ -1422,12 +1535,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() {
@@ -1441,36 +1554,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.
@@ -1492,6 +1618,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.
@@ -1499,8 +1627,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 {
@@ -1511,6 +1638,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1520,9 +1649,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;
@@ -1535,6 +1664,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.
@@ -1553,6 +1684,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1566,6 +1699,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.
@@ -1577,11 +1712,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.
@@ -1590,14 +1728,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_;
@@ -1605,6 +1746,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`
@@ -1615,13 +1758,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; @@ -1630,6 +1773,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1640,15 +1785,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 { @@ -1656,6 +1800,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1666,18 +1812,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`
@@ -1688,6 +1838,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1697,6 +1848,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1707,12 +1860,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; @@ -1722,6 +1877,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1731,13 +1888,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; @@ -1746,6 +1903,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1755,15 +1914,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 { @@ -1771,6 +1929,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1780,18 +1940,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`
      *
@@ -1801,6 +1965,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -1810,6 +1975,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -1819,12 +1986,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; @@ -1834,34 +2003,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.
      * 
@@ -1882,14 +2064,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 { @@ -1900,6 +2083,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1908,9 +2093,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; @@ -1923,6 +2108,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1940,6 +2127,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1952,6 +2141,8 @@ public com.google.cloud.asset.v1p7beta1.Resource.Builder getResourceBuilder() { return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -1962,11 +2153,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.
      * 
@@ -1974,14 +2168,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_; @@ -1989,8 +2186,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.
@@ -2004,12 +2206,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.
@@ -2023,6 +2228,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2033,6 +2239,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.
@@ -2061,6 +2269,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.
@@ -2075,8 +2285,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 {
@@ -2087,6 +2296,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.
@@ -2103,9 +2314,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;
@@ -2118,6 +2329,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.
@@ -2143,6 +2356,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.
@@ -2163,6 +2378,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.
@@ -2181,11 +2398,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.
@@ -2201,32 +2419,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).
@@ -2244,6 +2471,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2261,6 +2490,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2278,6 +2509,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).
@@ -2287,8 +2520,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();
@@ -2302,6 +2534,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2323,6 +2557,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2346,6 +2582,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).
@@ -2355,8 +2593,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();
@@ -2370,6 +2607,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2379,8 +2618,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());
@@ -2391,6 +2629,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2412,6 +2652,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2425,8 +2667,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);
@@ -2434,6 +2675,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2454,6 +2697,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2474,6 +2719,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).
@@ -2483,11 +2730,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).
@@ -2497,14 +2745,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).
@@ -2514,8 +2764,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 {
@@ -2523,6 +2773,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).
@@ -2533,10 +2785,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).
@@ -2546,12 +2800,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).
@@ -2561,34 +2816,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 @@ -2596,12 +2859,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 @@ -2619,6 +2885,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).
@@ -2640,6 +2908,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).
@@ -2659,6 +2929,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).
@@ -2666,12 +2938,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;
         }
@@ -2687,6 +2965,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).
@@ -2711,6 +2991,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).
@@ -2718,10 +3000,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).
@@ -2730,7 +3015,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 {
@@ -2741,6 +3027,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).
@@ -2749,14 +3037,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());
@@ -2768,14 +3062,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 @@ -2783,12 +3083,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 @@ -2806,6 +3109,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).
@@ -2827,6 +3132,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).
@@ -2846,6 +3153,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).
@@ -2855,10 +3164,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;
         }
@@ -2874,6 +3188,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).
@@ -2898,6 +3214,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).
@@ -2909,6 +3227,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).
@@ -2917,7 +3237,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 {
@@ -2928,6 +3249,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).
@@ -2936,14 +3259,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());
@@ -2955,14 +3284,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 @@ -2970,19 +3305,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 { @@ -2993,6 +3332,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).
@@ -3000,7 +3341,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();
@@ -3014,6 +3356,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).
@@ -3033,6 +3377,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3040,12 +3386,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;
         }
@@ -3061,6 +3414,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).
@@ -3085,6 +3440,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3092,10 +3449,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).
@@ -3104,17 +3464,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).
@@ -3123,14 +3487,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());
@@ -3143,36 +3513,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.
@@ -3194,6 +3577,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.
@@ -3213,6 +3598,8 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3222,9 +3609,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;
@@ -3237,6 +3625,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.
@@ -3255,6 +3645,8 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3268,6 +3660,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.
@@ -3279,11 +3673,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.
@@ -3292,14 +3689,17 @@ 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_;
@@ -3307,6 +3707,7 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
 
     private com.google.protobuf.LazyStringArrayList ancestors_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAncestorsIsMutable() {
       if (!ancestors_.isModifiable()) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
@@ -3314,6 +3715,8 @@ private void ensureAncestorsIsMutable() {
       bitField0_ |= 0x00000400;
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3326,14 +3729,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3346,12 +3751,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),
@@ -3364,6 +3772,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3371,6 +3780,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),
@@ -3383,14 +3794,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),
@@ -3403,13 +3816,15 @@ 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); bitField0_ |= 0x00000400; @@ -3417,6 +3832,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3429,12 +3846,14 @@ 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); bitField0_ |= 0x00000400; @@ -3442,6 +3861,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3454,19 +3875,20 @@ 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_); bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3479,16 +3901,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + ; 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),
@@ -3501,12 +3926,14 @@ 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); @@ -3514,9 +3941,9 @@ public Builder addAncestorsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3526,12 +3953,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(); } @@ -3540,27 +3967,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; @@ -3575,6 +4002,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 91% 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 69c5137ab0c4..4a83ea6eed22 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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`
@@ -48,10 +74,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`
@@ -62,12 +91,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`
    *
@@ -77,10 +108,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`
    *
@@ -90,30 +124,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.
    * 
@@ -123,6 +165,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.
@@ -136,10 +180,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.
@@ -153,10 +200,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.
@@ -174,6 +224,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).
@@ -183,9 +235,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).
@@ -197,6 +250,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).
@@ -208,6 +263,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).
@@ -217,9 +274,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).
@@ -229,30 +288,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).
@@ -263,26 +329,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).
@@ -293,26 +367,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).
@@ -320,29 +402,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.
@@ -353,6 +444,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),
@@ -365,11 +458,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),
@@ -382,10 +477,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),
@@ -398,11 +496,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),
@@ -415,11 +516,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); 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..615034f2989e --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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..de49f0c9ed1d --- /dev/null +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -0,0 +1,227 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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\"\271\002\n\023ExportAsse" + + "tsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037clou" + + "dasset.googleapis.com/Asset\022-\n\tread_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013as" + + "set_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162)." + + "google.cloud.asset.v1p7beta1.ContentType" + + "\022G\n\routput_config\030\005 \001(\0132*.google.cloud.a" + + "sset.v1p7beta1.OutputConfigB\004\342A\001\002\022\032\n\022rel" + + "ationship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsRe" + + "sponse\022-\n\tread_time\030\001 \001(\0132\032.google.proto" + + "buf.Timestamp\022A\n\routput_config\030\002 \001(\0132*.g" + + "oogle.cloud.asset.v1p7beta1.OutputConfig" + + "\022A\n\routput_result\030\003 \001(\0132*.google.cloud.a" + + "sset.v1p7beta1.OutputResult\"\271\001\n\014OutputCo" + + "nfig\022G\n\017gcs_destination\030\001 \001(\0132,.google.c" + + "loud.asset.v1p7beta1.GcsDestinationH\000\022Q\n" + + "\024bigquery_destination\030\002 \001(\01321.google.clo" + + "ud.asset.v1p7beta1.BigQueryDestinationH\000" + + "B\r\n\013destination\"]\n\014OutputResult\022C\n\ngcs_r" + + "esult\030\001 \001(\0132-.google.cloud.asset.v1p7bet" + + "a1.GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOut" + + "putResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDestinatio" + + "n\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014" + + "\n\nobject_uri\"\275\001\n\023BigQueryDestination\022\025\n\007" + + "dataset\030\001 \001(\tB\004\342A\001\002\022\023\n\005table\030\002 \001(\tB\004\342A\001\002" + + "\022\r\n\005force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132" + + "+.google.cloud.asset.v1p7beta1.Partition" + + "Spec\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.Par" + + "titionSpec.PartitionKey\"N\n\014PartitionKey\022" + + "\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_T" + + "IME\020\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034" + + "\n\030CONTENT_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\rAC" + + "CESS_POLICY\020\005\022\020\n\014RELATIONSHIP\020\0072\332\002\n\014Asse" + + "tService\022\372\001\n\014ExportAssets\0221.google.cloud" + + ".asset.v1p7beta1.ExportAssetsRequest\032\035.g" + + "oogle.longrunning.Operation\"\227\001\312Ae\n1googl" + + "e.cloud.asset.v1p7beta1.ExportAssetsResp" + + "onse\0220google.cloud.asset.v1p7beta1.Expor" + + "tAssetsRequest\202\323\344\223\002)\"$/v1p7beta1/{parent" + + "=*/*}:exportAssets:\001*\032M\312A\031cloudasset.goo" + + "gleapis.com\322A.https://www.googleapis.com" + + "/auth/cloud-platformB\255\001\n com.google.clou" + + "d.asset.v1p7beta1B\021AssetServiceProtoP\001Z6" + + "cloud.google.com/go/asset/apiv1p7beta1/a" + + "ssetpb;assetpb\252\002\034Google.Cloud.Asset.V1P7" + + "Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta1b\006pr" + + "oto3" + }; + 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 627c62a9d6d8..504509d41c77 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,28 +44,32 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } - 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
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -64,14 +87,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
@@ -80,16 +104,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 { @@ -98,9 +121,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
@@ -108,6 +134,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -116,14 +143,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
@@ -131,16 +159,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 { @@ -151,6 +178,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
@@ -159,6 +188,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -169,6 +199,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.
@@ -190,6 +222,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -197,6 +230,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -218,13 +253,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.
@@ -249,12 +289,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
@@ -286,6 +330,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -294,6 +339,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -338,16 +383,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; @@ -357,26 +399,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.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; } @@ -393,146 +431,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(); @@ -550,9 +590,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 @@ -571,8 +611,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; } @@ -589,9 +632,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_; @@ -602,38 +644,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; @@ -641,7 +684,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; @@ -687,39 +731,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) { @@ -729,10 +777,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
@@ -741,13 +792,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; @@ -756,6 +807,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -764,15 +817,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 { @@ -780,6 +832,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -788,18 +842,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
@@ -808,6 +866,7 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { @@ -817,6 +876,8 @@ public Builder clearDataset() { return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -825,12 +886,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; @@ -840,6 +903,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
@@ -847,13 +912,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; @@ -862,6 +927,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
@@ -869,15 +936,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 { @@ -885,6 +951,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -892,18 +960,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
@@ -911,6 +983,7 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { @@ -920,6 +993,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
@@ -927,12 +1002,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; @@ -940,8 +1017,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
@@ -950,6 +1029,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -957,6 +1037,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
@@ -965,6 +1047,7 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ @@ -976,6 +1059,8 @@ public Builder setForce(boolean value) { 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
@@ -984,6 +1069,7 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -995,8 +1081,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.
@@ -1018,12 +1109,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.
@@ -1045,16 +1139,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.
@@ -1091,6 +1190,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.
@@ -1125,6 +1226,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1149,9 +1252,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;
@@ -1164,6 +1268,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.
@@ -1197,6 +1303,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1225,6 +1333,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.
@@ -1251,11 +1361,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.
@@ -1279,21 +1392,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
@@ -1325,6 +1443,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1332,6 +1451,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
@@ -1363,6 +1484,7 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ @@ -1374,6 +1496,8 @@ public Builder setSeparateTablesPerAssetType(boolean value) { 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
@@ -1405,6 +1529,7 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { @@ -1413,9 +1538,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); } @@ -1425,12 +1550,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(); } @@ -1439,27 +1564,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; @@ -1474,6 +1599,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 82fdb4f5ba12..01dc420fd601 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -92,10 +123,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.
@@ -117,10 +151,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.
@@ -146,6 +183,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
@@ -177,6 +216,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..0d1c015b7eba 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 a84b256dcafd..a3b6741d77ba 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,57 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } - 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
@@ -59,7 +79,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 @@ -68,14 +91,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
@@ -83,17 +107,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 { @@ -104,6 +129,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).
@@ -113,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -120,6 +148,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).
@@ -129,6 +159,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -136,6 +167,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).
@@ -152,10 +185,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList assetTypes_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -178,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".
@@ -207,12 +245,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".
@@ -235,6 +276,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. */ @@ -242,6 +284,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".
@@ -264,51 +308,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 @@ -316,36 +374,52 @@ 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.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -360,13 +434,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
@@ -381,12 +457,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
@@ -401,6 +480,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 +488,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
@@ -422,15 +504,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; @@ -442,8 +525,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -453,7 +535,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) { @@ -475,8 +558,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; @@ -486,13 +568,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; @@ -510,30 +591,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; } @@ -571,131 +648,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(); @@ -706,23 +787,21 @@ public Builder clear() { readTimeBuilder_.dispose(); readTimeBuilder_ = null; } - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); contentType_ = 0; outputConfig_ = null; if (outputConfigBuilder_ != null) { outputConfigBuilder_.dispose(); outputConfigBuilder_ = null; } - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -741,8 +820,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result = + new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -753,9 +835,7 @@ 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_ & 0x00000004) != 0)) { assetTypes_.makeImmutable(); @@ -765,9 +845,8 @@ private void buildPartial0(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result.contentType_ = contentType_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.outputConfig_ = outputConfigBuilder_ == null - ? outputConfig_ - : outputConfigBuilder_.build(); + result.outputConfig_ = + outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { relationshipTypes_.makeImmutable(); @@ -779,38 +858,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; @@ -818,7 +898,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; @@ -879,48 +960,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) { @@ -930,10 +1014,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
@@ -941,14 +1028,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; @@ -957,6 +1046,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
@@ -964,16 +1055,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 { @@ -981,6 +1073,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
@@ -988,19 +1082,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
@@ -1008,7 +1108,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() { @@ -1018,6 +1121,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
@@ -1025,13 +1130,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; @@ -1041,8 +1150,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).
@@ -1052,12 +1166,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).
@@ -1067,6 +1184,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1077,6 +1195,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).
@@ -1101,6 +1221,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).
@@ -1111,8 +1233,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 {
@@ -1123,6 +1244,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).
@@ -1135,9 +1258,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;
@@ -1150,6 +1273,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).
@@ -1171,6 +1296,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).
@@ -1187,6 +1314,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).
@@ -1201,11 +1330,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).
@@ -1217,14 +1347,17 @@ 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_;
@@ -1232,6 +1365,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
 
     private com.google.protobuf.LazyStringArrayList assetTypes_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureAssetTypesIsMutable() {
       if (!assetTypes_.isModifiable()) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
@@ -1239,6 +1373,8 @@ private void ensureAssetTypesIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1261,14 +1397,16 @@ 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() { assetTypes_.makeImmutable(); return assetTypes_; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1291,12 +1429,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".
@@ -1319,6 +1460,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. */ @@ -1326,6 +1468,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".
@@ -1348,14 +1492,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".
@@ -1378,13 +1524,15 @@ 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); bitField0_ |= 0x00000004; @@ -1392,6 +1540,8 @@ public Builder setAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1414,12 +1564,14 @@ 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); bitField0_ |= 0x00000004; @@ -1427,6 +1579,8 @@ public Builder addAssetTypes( return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1449,19 +1603,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1484,16 +1639,19 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { - assetTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + assetTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1516,12 +1674,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); @@ -1532,24 +1692,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. */ @@ -1560,26 +1727,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. */ @@ -1593,12 +1767,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() { @@ -1610,42 +1787,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) { @@ -1661,12 +1857,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) { @@ -1680,18 +1880,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; @@ -1704,12 +1909,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); @@ -1722,12 +1931,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; @@ -1735,38 +1948,50 @@ 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_; @@ -1774,6 +1999,7 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB private com.google.protobuf.LazyStringArrayList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRelationshipTypesIsMutable() { if (!relationshipTypes_.isModifiable()) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); @@ -1781,6 +2007,8 @@ private void ensureRelationshipTypesIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1795,14 +2023,16 @@ 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() { relationshipTypes_.makeImmutable(); return relationshipTypes_; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1817,12 +2047,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
@@ -1837,6 +2070,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. */ @@ -1844,6 +2078,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
@@ -1858,14 +2094,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
@@ -1880,13 +2118,15 @@ 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); bitField0_ |= 0x00000020; @@ -1894,6 +2134,8 @@ public Builder setRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1908,12 +2150,14 @@ 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); bitField0_ |= 0x00000020; @@ -1921,6 +2165,8 @@ public Builder addRelationshipTypes( return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1935,19 +2181,20 @@ 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_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1962,16 +2209,19 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { - relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + relationshipTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1986,12 +2236,14 @@ 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); @@ -1999,9 +2251,9 @@ public Builder addRelationshipTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2011,12 +2263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) private static final com.google.cloud.asset.v1p7beta1.ExportAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(); } @@ -2025,27 +2277,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; @@ -2060,6 +2312,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 e776cb2a273a..08126e6d4ddf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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".
@@ -95,11 +130,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".
@@ -122,10 +159,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".
@@ -148,11 +188,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".
@@ -175,64 +218,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
@@ -247,11 +312,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
@@ -266,10 +333,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
@@ -284,11 +354,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
@@ -303,9 +376,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 5125277846d2..cc730f730fc8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,46 +31,50 @@
  *
  * 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();
   }
 
-  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 @@ -61,11 +82,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -73,6 +97,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -87,11 +113,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 @@ -99,18 +128,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.
    * 
@@ -119,12 +155,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
@@ -134,6 +174,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 @@ -141,6 +182,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
@@ -150,13 +193,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
@@ -169,10 +217,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;
@@ -184,8 +235,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -205,16 +255,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;
@@ -224,27 +271,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;
@@ -275,98 +320,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]
@@ -377,33 +428,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();
@@ -427,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_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
@@ -448,8 +498,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;
     }
@@ -457,19 +510,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();
       }
     }
 
@@ -477,38 +526,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;
@@ -516,7 +566,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());
       }
@@ -552,33 +603,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) {
@@ -588,28 +637,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() { @@ -620,6 +679,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -640,14 +701,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 { @@ -658,6 +720,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -666,9 +730,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; @@ -681,6 +745,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -698,6 +764,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -710,6 +778,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -720,11 +790,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.
      * 
@@ -732,14 +803,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_; @@ -747,34 +821,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.
      * 
@@ -795,6 +882,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -813,6 +902,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -821,9 +912,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; @@ -836,6 +928,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -853,6 +947,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -865,6 +961,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuil return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -875,11 +973,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.
      * 
@@ -887,14 +988,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_; @@ -902,8 +1006,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
@@ -913,12 +1022,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
@@ -928,16 +1040,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
@@ -962,6 +1079,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
@@ -984,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
@@ -996,9 +1117,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;
@@ -1011,6 +1133,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
@@ -1032,6 +1156,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
@@ -1048,6 +1174,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
@@ -1062,11 +1190,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
@@ -1078,21 +1209,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);
     }
 
@@ -1102,12 +1236,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();
   }
@@ -1116,27 +1250,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;
@@ -1151,6 +1285,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..d07ca640e539 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 6a758fe352cd..3315715fb65d 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,57 +1,79 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,25 +89,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
@@ -95,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. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -110,6 +140,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -120,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; @@ -130,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. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -139,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; } @@ -162,6 +193,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:
@@ -175,12 +208,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:
@@ -194,6 +230,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -204,8 +241,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; @@ -214,6 +250,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:
@@ -227,18 +265,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; } @@ -249,6 +286,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -291,22 +328,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: @@ -339,132 +375,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(); @@ -475,9 +515,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_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 @@ -496,8 +536,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; @@ -516,38 +559,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; @@ -555,23 +599,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(); @@ -599,24 +647,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) { @@ -626,12 +677,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() { @@ -644,6 +695,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
@@ -653,6 +706,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -660,6 +714,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
@@ -669,6 +725,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -678,8 +735,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; @@ -690,6 +746,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
@@ -699,19 +757,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; } @@ -721,6 +778,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
@@ -730,18 +789,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
@@ -751,6 +814,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -762,6 +826,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
@@ -771,12 +837,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; @@ -785,6 +853,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:
@@ -798,6 +868,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -805,6 +876,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:
@@ -818,6 +891,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -827,8 +901,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; @@ -839,6 +912,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:
@@ -852,19 +927,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; } @@ -874,6 +948,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:
@@ -887,18 +963,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:
@@ -912,6 +992,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -923,6 +1004,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:
@@ -936,21 +1019,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); } @@ -960,12 +1045,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(); } @@ -974,27 +1059,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; @@ -1009,6 +1094,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 81% 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 6d94c5479748..e08d4fc67d60 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); 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 08635ec10b05..d2352f6e1c6c 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,85 +1,112 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.emptyList(); + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsOutputResult(); } - 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.LazyStringArrayList uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -87,21 +114,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; @@ -113,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -143,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.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; } @@ -172,145 +201,148 @@ 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(); bitField0_ = 0; - uris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @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 @@ -329,8 +361,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.asset.v1p7beta1.GcsOutputResult result = + new com.google.cloud.asset.v1p7beta1.GcsOutputResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -347,38 +382,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; @@ -386,7 +422,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_; @@ -423,18 +460,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) { @@ -444,10 +483,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUrisIsMutable() { if (!uris_.isModifiable()) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); @@ -455,38 +496,46 @@ private void ensureUrisIsMutable() { 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() { uris_.makeImmutable(); 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. */ @@ -494,33 +543,39 @@ 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); bitField0_ |= 0x00000001; @@ -528,18 +583,22 @@ public Builder setUris( 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); bitField0_ |= 0x00000001; @@ -547,53 +606,61 @@ public Builder addUris( 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_); bitField0_ |= 0x00000001; 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() { - uris_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + uris_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); 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); @@ -601,9 +668,9 @@ public Builder addUrisBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +680,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(); } @@ -627,27 +694,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; @@ -662,6 +729,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..58e37a4dbe07 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 9cdc2e7573ce..26e561400084 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,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,30 +89,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 @@ -98,21 +126,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.
    * 
@@ -122,19 +155,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 @@ -142,22 +178,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.
@@ -166,14 +207,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;
@@ -185,8 +228,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (destinationCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
     }
@@ -203,12 +245,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;
@@ -218,22 +262,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:
@@ -266,132 +309,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(); @@ -408,9 +455,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 @@ -429,8 +476,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; @@ -443,12 +493,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(); } } @@ -457,38 +505,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; @@ -498,17 +547,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(); @@ -536,26 +588,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) { @@ -565,12 +617,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() { @@ -583,13 +635,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 @@ -597,11 +655,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 @@ -619,6 +680,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -639,6 +702,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -657,6 +722,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -665,10 +732,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; } @@ -684,6 +755,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -707,6 +780,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -717,6 +792,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -735,6 +812,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -742,14 +821,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()); @@ -761,14 +845,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 @@ -776,12 +866,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 @@ -799,6 +892,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.
@@ -806,7 +901,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();
@@ -820,6 +916,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.
@@ -839,6 +937,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -846,12 +946,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;
         }
@@ -867,6 +972,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.
@@ -891,6 +998,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -898,10 +1007,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.
@@ -910,7 +1022,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 {
@@ -921,6 +1034,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.
@@ -929,14 +1044,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());
@@ -946,9 +1066,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);
     }
 
@@ -958,12 +1078,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();
   }
@@ -972,27 +1092,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;
@@ -1007,6 +1127,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 f115c32a5f6d..063ee7c3437d 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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 68%
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 4e1dfd98c3d7..ece885f2097e 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,56 +1,78 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -66,29 +88,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 @@ -96,21 +123,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.
    * 
@@ -120,12 +152,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; @@ -137,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +184,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; @@ -163,18 +196,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: @@ -203,132 +236,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(); @@ -342,9 +379,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 @@ -363,8 +400,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; @@ -377,8 +417,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(); } } @@ -387,38 +426,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; @@ -428,13 +468,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(); @@ -462,19 +504,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) { @@ -484,12 +526,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() { @@ -502,13 +544,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 @@ -516,11 +564,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 @@ -538,6 +589,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -558,6 +611,8 @@ public Builder setGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult val return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -576,6 +631,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -584,10 +641,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; } @@ -603,6 +663,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult v return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -626,6 +688,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -636,6 +700,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder getGcsResultBuil return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -654,6 +720,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -661,14 +729,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()); @@ -678,9 +751,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); } @@ -690,12 +763,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(); } @@ -704,27 +777,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; @@ -739,6 +812,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 4f1fd6d5355a..15fdb1e82809 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 9870ebe76765..d1e3ab24c507 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,49 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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
@@ -54,9 +75,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.
      * 
@@ -65,6 +87,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,
@@ -77,6 +101,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
@@ -91,6 +117,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -99,6 +127,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,
@@ -111,6 +141,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
@@ -122,7 +154,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -147,49 +178,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;
@@ -209,30 +240,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; @@ -244,9 +287,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); @@ -258,9 +302,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; @@ -270,12 +315,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; @@ -296,132 +342,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(); @@ -431,9 +481,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 @@ -452,8 +502,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; } @@ -469,38 +522,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; @@ -538,17 +592,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) { @@ -558,26 +614,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. */ @@ -588,28 +652,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(); } @@ -619,11 +693,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() { @@ -632,9 +709,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); } @@ -644,12 +721,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(); } @@ -658,27 +735,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; @@ -693,6 +770,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..685ac19e35c9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 dad963df3647..1865682d3a24 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,46 +34,50 @@
  *
  * 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_ = "";
-    ancestors_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
-  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`
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -75,14 +97,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`
@@ -93,16 +116,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 { @@ -111,9 +133,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`
    *
@@ -123,6 +148,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -131,14 +157,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`
    *
@@ -148,16 +175,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,10 +192,13 @@ public java.lang.String getAssetType() { } public static final int ANCESTORS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -180,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),
@@ -197,12 +228,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),
@@ -213,6 +247,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -220,6 +255,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),
@@ -230,15 +267,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; @@ -250,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -292,19 +329,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; } @@ -329,99 +364,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
@@ -435,48 +475,46 @@ 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();
       bitField0_ = 0;
       asset_ = "";
       assetType_ = "";
-      ancestors_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @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
@@ -495,8 +533,11 @@ 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);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.asset.v1p7beta1.RelatedAsset result =
+          new com.google.cloud.asset.v1p7beta1.RelatedAsset(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -519,38 +560,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;
@@ -605,28 +647,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) {
@@ -636,10 +682,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`
@@ -650,13 +699,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; @@ -665,6 +714,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -675,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 { @@ -691,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`
@@ -701,18 +753,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`
@@ -723,6 +779,7 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { @@ -732,6 +789,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -742,12 +801,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; @@ -757,6 +818,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -766,13 +829,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; @@ -781,6 +844,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -790,15 +855,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 { @@ -806,6 +870,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -815,18 +881,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`
      *
@@ -836,6 +906,7 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { @@ -845,6 +916,8 @@ public Builder clearAssetType() { return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      *
@@ -854,12 +927,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; @@ -869,6 +944,7 @@ public Builder setAssetTypeBytes( private com.google.protobuf.LazyStringArrayList ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAncestorsIsMutable() { if (!ancestors_.isModifiable()) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); @@ -876,6 +952,8 @@ private void ensureAncestorsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -886,14 +964,16 @@ 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() { ancestors_.makeImmutable(); return ancestors_; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -904,12 +984,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),
@@ -920,6 +1003,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -927,6 +1011,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),
@@ -937,14 +1023,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),
@@ -955,13 +1043,15 @@ 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); bitField0_ |= 0x00000004; @@ -969,6 +1059,8 @@ public Builder setAncestors( return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -979,12 +1071,14 @@ 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); bitField0_ |= 0x00000004; @@ -992,6 +1086,8 @@ public Builder addAncestors( return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1002,19 +1098,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1025,16 +1122,19 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { - ancestors_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + ancestors_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1045,12 +1145,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); @@ -1058,9 +1160,9 @@ public Builder addAncestorsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1070,12 +1172,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(); } @@ -1084,27 +1186,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; @@ -1119,6 +1221,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 d7017a66c88b..4ee899213d9a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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`
@@ -18,10 +36,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`
@@ -32,12 +53,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`
    *
@@ -47,10 +70,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`
    *
@@ -60,12 +86,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),
@@ -76,11 +104,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),
@@ -91,10 +121,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),
@@ -105,11 +138,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),
@@ -120,9 +156,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 b31bc5ae45d7..d557b17f6505 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } - 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 @@ -58,18 +80,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.
    * 
@@ -77,14 +106,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.
    * 
@@ -96,6 +131,8 @@ public java.util.List getAssetsLi return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -103,11 +140,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.
    * 
@@ -119,6 +158,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -130,6 +171,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -137,12 +180,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; @@ -154,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -172,12 +214,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; @@ -187,20 +228,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; } @@ -225,132 +265,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(); @@ -371,9 +415,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 @@ -392,9 +436,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; } @@ -414,9 +461,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(); } } @@ -424,38 +472,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; @@ -485,9 +534,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_); } @@ -519,32 +569,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) { @@ -554,45 +605,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(); @@ -606,11 +675,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) { @@ -624,17 +696,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; @@ -647,11 +724,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); @@ -664,66 +744,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.
      * 
@@ -738,6 +839,8 @@ public java.util.List getAssetsLi } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -752,6 +855,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -766,14 +871,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(); @@ -787,6 +893,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -805,6 +913,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -825,14 +935,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(); @@ -846,6 +957,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -864,6 +977,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -882,6 +997,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -892,8 +1009,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); @@ -901,6 +1017,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -918,6 +1036,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -935,39 +1055,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 { @@ -975,6 +1100,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -982,49 +1109,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); } @@ -1034,12 +1167,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(); } @@ -1048,27 +1181,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; @@ -1083,6 +1216,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..e7793f9ed05e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 307d50213862..7c7be04f8afa 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,34 +47,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();
   }
 
-  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 @@ -65,30 +88,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 { @@ -97,14 +120,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 @@ -113,29 +140,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 { @@ -144,14 +171,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 @@ -160,29 +191,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 { @@ -191,14 +222,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 @@ -207,29 +242,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 { @@ -238,6 +273,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +285,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -292,21 +327,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; } @@ -332,98 +364,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`.
@@ -431,33 +469,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();
@@ -470,9 +507,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
@@ -491,8 +528,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;
     }
@@ -517,38 +557,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;
@@ -556,7 +597,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;
@@ -603,32 +645,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) {
@@ -638,23 +685,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; @@ -663,21 +713,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 { @@ -685,30 +736,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() { @@ -718,18 +776,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; @@ -739,18 +801,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; @@ -759,20 +823,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 { @@ -780,28 +845,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() { @@ -811,17 +883,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; @@ -831,18 +907,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; @@ -851,20 +929,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 { @@ -872,28 +951,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() { @@ -903,17 +989,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; @@ -923,18 +1013,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; @@ -943,20 +1035,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 { @@ -964,28 +1057,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() { @@ -995,26 +1095,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); } @@ -1024,12 +1128,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(); } @@ -1038,27 +1142,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; @@ -1073,6 +1177,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..0033382135a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 3a498b31f22a..fed845454741 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,33 +48,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(); } - 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 @@ -65,29 +88,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 { @@ -96,9 +119,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:
@@ -109,6 +135,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -117,14 +144,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:
@@ -135,16 +163,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 { @@ -153,9 +180,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`
@@ -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`
@@ -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:
@@ -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:
@@ -245,16 +281,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 { @@ -263,9 +298,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
@@ -282,6 +320,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -290,14 +329,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
@@ -314,16 +354,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 { @@ -334,12 +373,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 @@ -347,12 +389,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 @@ -360,6 +405,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.
@@ -373,15 +420,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 @@ -390,30 +441,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 { @@ -422,6 +473,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -433,8 +485,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -481,8 +532,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_); @@ -495,30 +545,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; } @@ -551,132 +595,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(); @@ -696,9 +744,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 @@ -717,8 +765,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; } @@ -741,9 +792,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_; @@ -754,38 +803,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; @@ -853,49 +903,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) { @@ -905,22 +961,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; @@ -929,20 +988,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 { @@ -950,28 +1010,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() { @@ -981,17 +1048,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; @@ -1001,6 +1072,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1011,13 +1084,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; @@ -1026,6 +1099,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1036,15 +1111,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 { @@ -1052,6 +1126,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1062,18 +1138,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:
@@ -1084,6 +1164,7 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { @@ -1093,6 +1174,8 @@ public Builder clearDiscoveryDocumentUri() { return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1103,12 +1186,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; @@ -1118,6 +1203,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1127,13 +1214,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; @@ -1142,6 +1229,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1151,15 +1240,14 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1167,6 +1255,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1176,18 +1266,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`
@@ -1197,6 +1291,7 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { @@ -1206,6 +1301,8 @@ public Builder clearDiscoveryName() { return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1215,12 +1312,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; @@ -1230,6 +1329,8 @@ public Builder setDiscoveryNameBytes( private java.lang.Object resourceUrl_ = ""; /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1239,13 +1340,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; @@ -1254,6 +1355,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:
@@ -1263,15 +1366,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 { @@ -1279,6 +1381,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:
@@ -1288,18 +1392,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:
@@ -1309,6 +1417,7 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { @@ -1318,6 +1427,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:
@@ -1327,12 +1438,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; @@ -1342,6 +1455,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1358,13 +1473,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; @@ -1373,6 +1488,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1389,15 +1506,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 { @@ -1405,6 +1521,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1421,18 +1539,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
@@ -1449,6 +1571,7 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1458,6 +1581,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1474,12 +1599,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; @@ -1489,26 +1616,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() { @@ -1519,6 +1655,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1540,6 +1678,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.
@@ -1547,8 +1687,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 {
@@ -1559,6 +1698,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1568,9 +1709,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;
@@ -1583,6 +1724,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.
@@ -1601,6 +1744,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1614,6 +1759,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.
@@ -1625,11 +1772,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.
@@ -1638,14 +1786,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_;
@@ -1653,19 +1803,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; @@ -1674,21 +1826,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 { @@ -1696,30 +1849,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() { @@ -1729,27 +1889,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); } @@ -1759,12 +1923,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(); } @@ -1773,27 +1937,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; @@ -1808,6 +1972,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 8e5ef7e8274b..6d06540c5b83 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -38,10 +61,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:
@@ -52,12 +78,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`
@@ -67,10 +95,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`
@@ -80,12 +111,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:
@@ -95,10 +128,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:
@@ -108,12 +144,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
@@ -130,10 +168,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
@@ -150,32 +191,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.
@@ -186,24 +235,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 d99b565473a5..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,2467 +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 java.lang.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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
-     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
-     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
-     * 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 SQL](https://cloud.google.com/bigquery/docs/introduction-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),
-     * 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 java.lang.String methodName; - - AssetServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (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 8a88c6460983..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(); - - 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 5a3966d0b9aa..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,548 +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_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_EffectiveTagDetails_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_ResourceSearchResult_SccSecurityMarksEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_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\031google/api/resource" + - ".proto\032)google/cloud/orgpolicy/v1/orgpol" + - "icy.proto\032(google/cloud/osconfig/v1/inve" + - "ntory.proto\032\032google/iam/v1/policy.proto\032" + - ":google/identity/accesscontextmanager/v1" + - "/access_level.proto\032;google/identity/acc" + - "esscontextmanager/v1/access_policy.proto" + - "\032?google/identity/accesscontextmanager/v" + - "1/service_perimeter.proto\032\034google/protob" + - "uf/struct.proto\032\037google/protobuf/timesta" + - "mp.proto\032\025google/rpc/code.proto\"\365\002\n\rTemp" + - "oralAsset\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.Ass" + - "et\022O\n\021prior_asset_state\030\004 \001(\01624.google.c" + - "loud.asset.v1.TemporalAsset.PriorAssetSt" + - "ate\0221\n\013prior_asset\030\005 \001(\0132\034.google.cloud." + - "asset.v1.Asset\"o\n\017PriorAssetState\022!\n\035PRI" + - "OR_ASSET_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020" + - "\001\022\013\n\007INVALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DE" + - "LETED\020\004\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(" + - "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + - "e\030\002 \001(\0132\032.google.protobuf.Timestamp\"\363\005\n\005" + - "Asset\022/\n\013update_time\030\013 \001(\0132\032.google.prot" + - "obuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_ty" + - "pe\030\002 \001(\t\0221\n\010resource\030\003 \001(\0132\037.google.clou" + - "d.asset.v1.Resource\022)\n\niam_policy\030\004 \001(\0132" + - "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" + - "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" + - "\raccess_policy\030\007 \001(\01325.google.identity.a" + - "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + - "\014access_level\030\010 \001(\01324.google.identity.ac" + - "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + - "ervice_perimeter\030\t \001(\01329.google.identity" + - ".accesscontextmanager.v1.ServicePerimete" + - "rH\000\0229\n\014os_inventory\030\014 \001(\0132#.google.cloud" + - ".osconfig.v1.Inventory\022@\n\016related_assets" + - "\030\r \001(\0132$.google.cloud.asset.v1.RelatedAs" + - "setsB\002\030\001\022:\n\rrelated_asset\030\017 \001(\0132#.google" + - ".cloud.asset.v1.RelatedAsset\022\021\n\tancestor" + - "s\030\n \003(\t:\'\352A$\n\037cloudasset.googleapis.com/" + - "Asset\022\001*B\027\n\025access_context_policy\"\262\001\n\010Re" + - "source\022\017\n\007version\030\001 \001(\t\022\036\n\026discovery_doc" + - "ument_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.Struct\022\020\n\010" + - "location\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027rela" + - "tionship_attributes\030\001 \001(\0132-.google.cloud" + - ".asset.v1.RelationshipAttributes\0223\n\006asse" + - "ts\030\002 \003(\0132#.google.cloud.asset.v1.Related" + - "Asset:\002\030\001\"v\n\026RelationshipAttributes\022\014\n\004t" + - "ype\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\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\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031" + - "\n\021relationship_type\030\004 \001(\t\"y\n\003Tag\022\024\n\007tag_" + - "key\030\001 \001(\tH\000\210\001\001\022\026\n\ttag_value\030\003 \001(\tH\001\210\001\001\022\031" + - "\n\014tag_value_id\030\004 \001(\tH\002\210\001\001B\n\n\010_tag_keyB\014\n" + - "\n_tag_valueB\017\n\r_tag_value_id\"\177\n\023Effectiv" + - "eTagDetails\022\036\n\021attached_resource\030\001 \001(\tH\000" + - "\210\001\001\0222\n\016effective_tags\030\002 \003(\0132\032.google.clo" + - "ud.asset.v1.TagB\024\n\022_attached_resource\"\332\t" + - "\n\024ResourceSearchResult\022\014\n\004name\030\001 \001(\t\022\022\n\n" + - "asset_type\030\002 \001(\t\022\017\n\007project\030\003 \001(\t\022\017\n\007fol" + - "ders\030\021 \003(\t\022\024\n\014organization\030\022 \001(\t\022\024\n\014disp" + - "lay_name\030\004 \001(\t\022\023\n\013description\030\005 \001(\t\022\020\n\010l" + - "ocation\030\006 \001(\t\022G\n\006labels\030\007 \003(\01327.google.c" + - "loud.asset.v1.ResourceSearchResult.Label" + - "sEntry\022\024\n\014network_tags\030\010 \003(\t\022\023\n\007kms_key\030" + - "\n \001(\tB\002\030\001\022\020\n\010kms_keys\030\034 \003(\t\022/\n\013create_ti" + - "me\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013" + - "update_time\030\014 \001(\0132\032.google.protobuf.Time" + - "stamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attri" + - "butes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031" + - "parent_full_resource_name\030\023 \001(\t\022E\n\023versi" + - "oned_resources\030\020 \003(\0132(.google.cloud.asse" + - "t.v1.VersionedResource\022C\n\022attached_resou" + - "rces\030\024 \003(\0132\'.google.cloud.asset.v1.Attac" + - "hedResource\022U\n\rrelationships\030\025 \003(\0132>.goo" + - "gle.cloud.asset.v1.ResourceSearchResult." + - "RelationshipsEntry\022\024\n\010tag_keys\030\027 \003(\tB\002\030\001" + - "\022\026\n\ntag_values\030\031 \003(\tB\002\030\001\022\031\n\rtag_value_id" + - "s\030\032 \003(\tB\002\030\001\022(\n\004tags\030\035 \003(\0132\032.google.cloud" + - ".asset.v1.Tag\022B\n\016effective_tags\030\036 \003(\0132*." + - "google.cloud.asset.v1.EffectiveTagDetail" + - "s\022\031\n\021parent_asset_type\030g \001(\t\022]\n\022scc_secu" + - "rity_marks\030 \003(\0132A.google.cloud.asset.v1" + - ".ResourceSearchResult.SccSecurityMarksEn" + - "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + - "\030\002 \001(\t:\0028\001\032]\n\022RelationshipsEntry\022\013\n\003key\030" + - "\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.asse" + - "t.v1.RelatedResources:\0028\001\0327\n\025SccSecurity" + - "MarksEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001\"O\n\021VersionedResource\022\017\n\007version\030\001 \001(\t" + - "\022)\n\010resource\030\002 \001(\0132\027.google.protobuf.Str" + - "uct\"m\n\020AttachedResource\022\022\n\nasset_type\030\001 " + - "\001(\t\022E\n\023versioned_resources\030\003 \003(\0132(.googl" + - "e.cloud.asset.v1.VersionedResource\"U\n\020Re" + - "latedResources\022A\n\021related_resources\030\001 \003(" + - "\0132&.google.cloud.asset.v1.RelatedResourc" + - "e\"A\n\017RelatedResource\022\022\n\nasset_type\030\001 \001(\t" + - "\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025IamPoli" + - "cySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n\nasse" + - "t_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007folders" + - "\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006policy\030\003" + - " \001(\0132\025.google.iam.v1.Policy\022M\n\013explanati" + - "on\030\004 \001(\01328.google.cloud.asset.v1.IamPoli" + - "cySearchResult.Explanation\032\241\002\n\013Explanati" + - "on\022m\n\023matched_permissions\030\001 \003(\0132P.google" + - ".cloud.asset.v1.IamPolicySearchResult.Ex" + - "planation.MatchedPermissionsEntry\032\"\n\013Per" + - "missions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Matched" + - "PermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005value\030\002" + - " \001(\0132D.google.cloud.asset.v1.IamPolicySe" + - "archResult.Explanation.Permissions:\0028\001\"G" + - "\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 \001(\0162\020" + - ".google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n\023Cond" + - "itionEvaluation\022T\n\020evaluation_value\030\001 \001(" + - "\0162:.google.cloud.asset.v1.ConditionEvalu" + - "ation.EvaluationValue\"Y\n\017EvaluationValue" + - "\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022\010\n\004TR" + - "UE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t\n\027Iam" + - "PolicyAnalysisResult\022#\n\033attached_resourc" + - "e_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\0132\026" + - ".google.iam.v1.Binding\022^\n\024access_control" + - "_lists\030\003 \003(\0132@.google.cloud.asset.v1.Iam" + - "PolicyAnalysisResult.AccessControlList\022R" + - "\n\ridentity_list\030\004 \001(\0132;.google.cloud.ass" + - "et.v1.IamPolicyAnalysisResult.IdentityLi" + - "st\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resource\022\032" + - "\n\022full_resource_name\030\001 \001(\t\022E\n\016analysis_s" + - "tate\030\002 \001(\0132-.google.cloud.asset.v1.IamPo" + - "licyAnalysisState\032\205\001\n\006Access\022\016\n\004role\030\001 \001" + - "(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analysis_s" + - "tate\030\003 \001(\0132-.google.cloud.asset.v1.IamPo" + - "licyAnalysisStateB\016\n\014oneof_access\032_\n\010Ide" + - "ntity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_state\030\002 " + - "\001(\0132-.google.cloud.asset.v1.IamPolicyAna" + - "lysisState\0320\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022" + - "\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessControlLi" + - "st\022J\n\tresources\030\001 \003(\01327.google.cloud.ass" + - "et.v1.IamPolicyAnalysisResult.Resource\022G" + - "\n\010accesses\030\002 \003(\01325.google.cloud.asset.v1" + - ".IamPolicyAnalysisResult.Access\022K\n\016resou" + - "rce_edges\030\003 \003(\01323.google.cloud.asset.v1." + - "IamPolicyAnalysisResult.Edge\022H\n\024conditio" + - "n_evaluation\030\004 \001(\0132*.google.cloud.asset." + - "v1.ConditionEvaluation\032\245\001\n\014IdentityList\022" + - "K\n\nidentities\030\001 \003(\01327.google.cloud.asset" + - ".v1.IamPolicyAnalysisResult.Identity\022H\n\013" + - "group_edges\030\002 \003(\01323.google.cloud.asset.v" + - "1.IamPolicyAnalysisResult.EdgeB\215\001\n\031com.g" + - "oogle.cloud.asset.v1B\nAssetProtoP\001Z/clou" + - "d.google.com/go/asset/apiv1/assetpb;asse" + - "tpb\370\001\001\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" + - "Cloud\\Asset\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.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_Tag_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Tag_descriptor, - new java.lang.String[] { "TagKey", "TagValue", "TagValueId", "TagKey", "TagValue", "TagValueId", }); - internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1_EffectiveTagDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_EffectiveTagDetails_descriptor, - new java.lang.String[] { "AttachedResource", "EffectiveTags", "AttachedResource", }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = - getDescriptor().getMessageTypes().get(9); - 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", "Tags", "EffectiveTags", "ParentAssetType", "SccSecurityMarks", }); - 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_ResourceSearchResult_SccSecurityMarksEntry_descriptor = - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_SccSecurityMarksEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1_VersionedResource_descriptor = - getDescriptor().getMessageTypes().get(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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.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 ec2be5396951..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,1477 +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\0225\n\013create_time\030\001 \001(\0132\032.google.p" + - "rotobuf.TimestampB\004\342A\001\003\"\253\002\n\023ExportAssets" + - "Request\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037clouda" + - "sset.googleapis.com/Asset\022-\n\tread_time\030\002" + - " \001(\0132\032.google.protobuf.Timestamp\022\023\n\013asse" + - "t_types\030\003 \003(\t\0228\n\014content_type\030\004 \001(\0162\".go" + - "ogle.cloud.asset.v1.ContentType\022@\n\routpu" + - "t_config\030\005 \001(\0132#.google.cloud.asset.v1.O" + - "utputConfigB\004\342A\001\002\022\032\n\022relationship_types\030" + - "\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n\tread_t" + - "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022:\n" + - "\routput_config\030\002 \001(\0132#.google.cloud.asse" + - "t.v1.OutputConfig\022:\n\routput_result\030\003 \001(\013" + - "2#.google.cloud.asset.v1.OutputResult\"\216\002" + - "\n\021ListAssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001" + - "\002\372A!\022\037cloudasset.googleapis.com/Asset\022-\n" + - "\tread_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_typ" + - "e\030\004 \001(\0162\".google.cloud.asset.v1.ContentT" + - "ype\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\022ListA" + - "ssetsResponse\022-\n\tread_time\030\001 \001(\0132\032.googl" + - "e.protobuf.Timestamp\022,\n\006assets\030\002 \003(\0132\034.g" + - "oogle.cloud.asset.v1.Asset\022\027\n\017next_page_" + - "token\030\003 \001(\t\"\222\002\n\034BatchGetAssetsHistoryReq" + - "uest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037cloudasse" + - "t.googleapis.com/Asset\022\023\n\013asset_names\030\002 " + - "\003(\t\022>\n\014content_type\030\003 \001(\0162\".google.cloud" + - ".asset.v1.ContentTypeB\004\342A\001\001\022A\n\020read_time" + - "_window\030\004 \001(\0132!.google.cloud.asset.v1.Ti" + - "meWindowB\004\342A\001\001\022 \n\022relationship_types\030\005 \003" + - "(\tB\004\342A\001\001\"U\n\035BatchGetAssetsHistoryRespons" + - "e\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset.v" + - "1.TemporalAsset\"q\n\021CreateFeedRequest\022\024\n\006" + - "parent\030\001 \001(\tB\004\342A\001\002\022\025\n\007feed_id\030\002 \001(\tB\004\342A\001" + - "\002\022/\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." + - "FeedB\004\342A\001\002\"G\n\016GetFeedRequest\0225\n\004name\030\001 \001" + - "(\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com/F" + - "eed\"(\n\020ListFeedsRequest\022\024\n\006parent\030\001 \001(\tB" + - "\004\342A\001\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(" + - "\0132\033.google.cloud.asset.v1.Feed\"{\n\021Update" + - "FeedRequest\022/\n\004feed\030\001 \001(\0132\033.google.cloud" + - ".asset.v1.FeedB\004\342A\001\002\0225\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"J\n\021D" + - "eleteFeedRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n" + - "\036cloudasset.googleapis.com/Feed\"\253\001\n\014Outp" + - "utConfig\022@\n\017gcs_destination\030\001 \001(\0132%.goog" + - "le.cloud.asset.v1.GcsDestinationH\000\022J\n\024bi" + - "gquery_destination\030\002 \001(\0132*.google.cloud." + - "asset.v1.BigQueryDestinationH\000B\r\n\013destin" + - "ation\"V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(" + - "\0132&.google.cloud.asset.v1.GcsOutputResul" + - "tH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uris" + - "\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022" + - "\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\266\001\n\023" + - "BigQueryDestination\022\025\n\007dataset\030\001 \001(\tB\004\342A" + - "\001\002\022\023\n\005table\030\002 \001(\tB\004\342A\001\002\022\r\n\005force\030\003 \001(\010\022<" + - "\n\016partition_spec\030\004 \001(\0132$.google.cloud.as" + - "set.v1.PartitionSpec\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.ass" + - "et.v1.PartitionSpec.PartitionKey\"N\n\014Part" + - "itionKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022" + - "\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021Pubs" + - "ubDestination\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutp" + - "utConfig\022F\n\022pubsub_destination\030\001 \001(\0132(.g" + - "oogle.cloud.asset.v1.PubsubDestinationH\000" + - "B\r\n\013destination\"\237\003\n\004Feed\022\022\n\004name\030\001 \001(\tB\004" + - "\342A\001\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset_types" + - "\030\003 \003(\t\0228\n\014content_type\030\004 \001(\0162\".google.cl" + - "oud.asset.v1.ContentType\022I\n\022feed_output_" + - "config\030\005 \001(\0132\'.google.cloud.asset.v1.Fee" + - "dOutputConfigB\004\342A\001\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\036cloudasset.googleapis.com/" + - "Feed\022\037projects/{project}/feeds/{feed}\022\035f" + - "olders/{folder}/feeds/{feed}\022)organizati" + - "ons/{organization}/feeds/{feed} \001\"\340\001\n\031Se" + - "archAllResourcesRequest\022\023\n\005scope\030\001 \001(\tB\004" + - "\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342A\001\001\022\031\n\013asset_types" + - "\030\003 \003(\tB\004\342A\001\001\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n" + - "\npage_token\030\005 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\006 \001(" + - "\tB\004\342A\001\001\0223\n\tread_mask\030\010 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\004\342A\001\001\"s\n\032SearchAllResourc" + - "esResponse\022<\n\007results\030\001 \003(\0132+.google.clo" + - "ud.asset.v1.ResourceSearchResult\022\027\n\017next" + - "_page_token\030\002 \001(\t\"\255\001\n\033SearchAllIamPolici" + - "esRequest\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\023\n\005query\030" + - "\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030\003 \001(\005B\004\342A\001\001\022\030\n\n" + - "page_token\030\004 \001(\tB\004\342A\001\001\022\031\n\013asset_types\030\005 " + - "\003(\tB\004\342A\001\001\022\026\n\010order_by\030\007 \001(\tB\004\342A\001\001\"v\n\034Sea" + - "rchAllIamPoliciesResponse\022=\n\007results\030\001 \003" + - "(\0132,.google.cloud.asset.v1.IamPolicySear" + - "chResult\022\027\n\017next_page_token\030\002 \001(\t\"\326\007\n\026Ia" + - "mPolicyAnalysisQuery\022\023\n\005scope\030\001 \001(\tB\004\342A\001" + - "\002\022_\n\021resource_selector\030\002 \001(\0132>.google.cl" + - "oud.asset.v1.IamPolicyAnalysisQuery.Reso" + - "urceSelectorB\004\342A\001\001\022_\n\021identity_selector\030" + - "\003 \001(\0132>.google.cloud.asset.v1.IamPolicyA" + - "nalysisQuery.IdentitySelectorB\004\342A\001\001\022[\n\017a" + - "ccess_selector\030\004 \001(\0132<.google.cloud.asse" + - "t.v1.IamPolicyAnalysisQuery.AccessSelect" + - "orB\004\342A\001\001\022L\n\007options\030\005 \001(\01325.google.cloud" + - ".asset.v1.IamPolicyAnalysisQuery.Options" + - "B\004\342A\001\001\022_\n\021condition_context\030\006 \001(\0132>.goog" + - "le.cloud.asset.v1.IamPolicyAnalysisQuery" + - ".ConditionContextB\004\342A\001\001\0324\n\020ResourceSelec" + - "tor\022 \n\022full_resource_name\030\001 \001(\tB\004\342A\001\002\032*\n" + - "\020IdentitySelector\022\026\n\010identity\030\001 \001(\tB\004\342A\001" + - "\002\032@\n\016AccessSelector\022\023\n\005roles\030\001 \003(\tB\004\342A\001\001" + - "\022\031\n\013permissions\030\002 \003(\tB\004\342A\001\001\032\336\001\n\007Options\022" + - "\033\n\rexpand_groups\030\001 \001(\010B\004\342A\001\001\022\032\n\014expand_r" + - "oles\030\002 \001(\010B\004\342A\001\001\022\036\n\020expand_resources\030\003 \001" + - "(\010B\004\342A\001\001\022#\n\025output_resource_edges\030\004 \001(\010B" + - "\004\342A\001\001\022 \n\022output_group_edges\030\005 \001(\010B\004\342A\001\001\022" + - "3\n%analyze_service_account_impersonation" + - "\030\006 \001(\010B\004\342A\001\001\032T\n\020ConditionContext\0221\n\013acce" + - "ss_time\030\001 \001(\0132\032.google.protobuf.Timestam" + - "pH\000B\r\n\013TimeContext\"\306\001\n\027AnalyzeIamPolicyR" + - "equest\022K\n\016analysis_query\030\001 \001(\0132-.google." + - "cloud.asset.v1.IamPolicyAnalysisQueryB\004\342" + - "A\001\002\022\"\n\024saved_analysis_query\030\003 \001(\tB\004\342A\001\001\022" + - ":\n\021execution_timeout\030\002 \001(\0132\031.google.prot" + - "obuf.DurationB\004\342A\001\001\"\212\004\n\030AnalyzeIamPolicy" + - "Response\022X\n\rmain_analysis\030\001 \001(\0132A.google" + - ".cloud.asset.v1.AnalyzeIamPolicyResponse" + - ".IamPolicyAnalysis\022q\n&service_account_im" + - "personation_analysis\030\002 \003(\0132A.google.clou" + - "d.asset.v1.AnalyzeIamPolicyResponse.IamP" + - "olicyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002" + - "\n\021IamPolicyAnalysis\022E\n\016analysis_query\030\001 " + - "\001(\0132-.google.cloud.asset.v1.IamPolicyAna" + - "lysisQuery\022H\n\020analysis_results\030\002 \003(\0132..g" + - "oogle.cloud.asset.v1.IamPolicyAnalysisRe" + - "sult\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_crit" + - "ical_errors\030\005 \003(\0132-.google.cloud.asset.v" + - "1.IamPolicyAnalysisState\"\270\004\n\035IamPolicyAn" + - "alysisOutputConfig\022^\n\017gcs_destination\030\001 " + - "\001(\0132C.google.cloud.asset.v1.IamPolicyAna" + - "lysisOutputConfig.GcsDestinationH\000\022h\n\024bi" + - "gquery_destination\030\002 \001(\0132H.google.cloud." + - "asset.v1.IamPolicyAnalysisOutputConfig.B" + - "igQueryDestinationH\000\032#\n\016GcsDestination\022\021" + - "\n\003uri\030\001 \001(\tB\004\342A\001\002\032\230\002\n\023BigQueryDestinatio" + - "n\022\025\n\007dataset\030\001 \001(\tB\004\342A\001\002\022\032\n\014table_prefix" + - "\030\002 \001(\tB\004\342A\001\002\022l\n\rpartition_key\030\003 \001(\0162U.go" + - "ogle.cloud.asset.v1.IamPolicyAnalysisOut" + - "putConfig.BigQueryDestination.PartitionK" + - "ey\022\037\n\021write_disposition\030\004 \001(\tB\004\342A\001\001\"?\n\014P" + - "artitionKey\022\035\n\031PARTITION_KEY_UNSPECIFIED" + - "\020\000\022\020\n\014REQUEST_TIME\020\001B\r\n\013destination\"\350\001\n\"" + - "AnalyzeIamPolicyLongrunningRequest\022K\n\016an" + - "alysis_query\030\001 \001(\0132-.google.cloud.asset." + - "v1.IamPolicyAnalysisQueryB\004\342A\001\002\022\"\n\024saved" + - "_analysis_query\030\003 \001(\tB\004\342A\001\001\022Q\n\routput_co" + - "nfig\030\002 \001(\01324.google.cloud.asset.v1.IamPo" + - "licyAnalysisOutputConfigB\004\342A\001\002\"%\n#Analyz" + - "eIamPolicyLongrunningResponse\"\273\005\n\nSavedQ" + - "uery\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022" + - "5\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022\025\n\007creator\030\004 \001(\tB\004\342A\001\003\022:\n" + - "\020last_update_time\030\005 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\022\032\n\014last_updater\030\006 \001(\tB" + - "\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google.cloud.ass" + - "et.v1.SavedQuery.LabelsEntry\022?\n\007content\030" + - "\010 \001(\0132..google.cloud.asset.v1.SavedQuery" + - ".QueryContent\032s\n\014QueryContent\022R\n\031iam_pol" + - "icy_analysis_query\030\001 \001(\0132-.google.cloud." + - "asset.v1.IamPolicyAnalysisQueryH\000B\017\n\rque" + - "ry_content\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001:\277\001\352A\273\001\n$cloudasset.goo" + - "gleapis.com/SavedQuery\022-projects/{projec" + - "t}/savedQueries/{saved_query}\022+folders/{" + - "folder}/savedQueries/{saved_query}\0227orga" + - "nizations/{organization}/savedQueries/{s" + - "aved_query}\"\264\001\n\027CreateSavedQueryRequest\022" + - "=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$cloudasset.goo" + - "gleapis.com/SavedQuery\022<\n\013saved_query\030\002 " + - "\001(\0132!.google.cloud.asset.v1.SavedQueryB\004" + - "\342A\001\002\022\034\n\016saved_query_id\030\003 \001(\tB\004\342A\001\002\"S\n\024Ge" + - "tSavedQueryRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A" + - "&\n$cloudasset.googleapis.com/SavedQuery\"" + - "\241\001\n\027ListSavedQueriesRequest\022=\n\006parent\030\001 " + - "\001(\tB-\342A\001\002\372A&\022$cloudasset.googleapis.com/" + - "SavedQuery\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\027\n\tpage" + - "_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342" + - "A\001\001\"m\n\030ListSavedQueriesResponse\0228\n\rsaved" + - "_queries\030\001 \003(\0132!.google.cloud.asset.v1.S" + - "avedQuery\022\027\n\017next_page_token\030\002 \001(\t\"\216\001\n\027U" + - "pdateSavedQueryRequest\022<\n\013saved_query\030\001 " + - "\001(\0132!.google.cloud.asset.v1.SavedQueryB\004" + - "\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMaskB\004\342A\001\002\"V\n\027DeleteSavedQueryR" + - "equest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$cloudasse" + - "t.googleapis.com/SavedQuery\"\216\002\n\022AnalyzeM" + - "oveRequest\022F\n\010resource\030\001 \001(\tB4\342A\001\002\372A-\n+c" + - "loudresourcemanager.googleapis.com/Proje" + - "ct\022&\n\022destination_parent\030\002 \001(\tB\n\342A\001\002\372A\003\n" + - "\001*\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" + - ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" + - "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" + - "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" + - "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" + - "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" + - "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" + - "2).google.cloud.asset.v1.MoveAnalysisRes" + - "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" + - "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" + - "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" + - "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" + - ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" + - "tail\030\001 \001(\t\"\331\001\n\027QueryAssetsOutputConfig\022`" + - "\n\024bigquery_destination\030\001 \001(\0132B.google.cl" + - "oud.asset.v1.QueryAssetsOutputConfig.Big" + - "QueryDestination\032\\\n\023BigQueryDestination\022" + - "\025\n\007dataset\030\001 \001(\tB\004\342A\001\002\022\023\n\005table\030\002 \001(\tB\004\342" + - "A\001\002\022\031\n\021write_disposition\030\003 \001(\t\"\307\003\n\022Query" + - "AssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037" + - "cloudasset.googleapis.com/Asset\022\031\n\tstate" + - "ment\030\002 \001(\tB\004\342A\001\001H\000\022\035\n\rjob_reference\030\003 \001(" + - "\tB\004\342A\001\001H\000\022\027\n\tpage_size\030\004 \001(\005B\004\342A\001\001\022\030\n\npa" + - "ge_token\030\005 \001(\tB\004\342A\001\001\0220\n\007timeout\030\006 \001(\0132\031." + - "google.protobuf.DurationB\004\342A\001\001\022C\n\020read_t" + - "ime_window\030\007 \001(\0132!.google.cloud.asset.v1" + - ".TimeWindowB\004\342A\001\001H\001\0225\n\tread_time\030\010 \001(\0132\032" + - ".google.protobuf.TimestampB\004\342A\001\001H\001\022K\n\rou" + - "tput_config\030\t \001(\0132..google.cloud.asset.v" + - "1.QueryAssetsOutputConfigB\004\342A\001\001B\007\n\005query" + - "B\006\n\004time\"\360\001\n\023QueryAssetsResponse\022\025\n\rjob_" + - "reference\030\001 \001(\t\022\014\n\004done\030\002 \001(\010\022#\n\005error\030\003" + - " \001(\0132\022.google.rpc.StatusH\000\022:\n\014query_resu" + - "lt\030\004 \001(\0132\".google.cloud.asset.v1.QueryRe" + - "sultH\000\022G\n\routput_config\030\005 \001(\0132..google.c" + - "loud.asset.v1.QueryAssetsOutputConfigH\000B" + - "\n\n\010response\"\225\001\n\013QueryResult\022%\n\004rows\030\001 \003(" + - "\0132\027.google.protobuf.Struct\0222\n\006schema\030\002 \001" + - "(\0132\".google.cloud.asset.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\'.goo" + - "gle.cloud.asset.v1.TableFieldSchema\"v\n\020T" + - "ableFieldSchema\022\r\n\005field\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\'.goo" + - "gle.cloud.asset.v1.TableFieldSchema\"[\n#B" + - "atchGetEffectiveIamPoliciesRequest\022\031\n\005sc" + - "ope\030\001 \001(\tB\n\342A\001\002\372A\003\022\001*\022\031\n\005names\030\003 \003(\tB\n\342A" + - "\001\002\372A\003\n\001*\"\376\002\n$BatchGetEffectiveIamPolicie" + - "sResponse\022f\n\016policy_results\030\002 \003(\0132N.goog" + - "le.cloud.asset.v1.BatchGetEffectiveIamPo" + - "liciesResponse.EffectiveIamPolicy\032\355\001\n\022Ef" + - "fectiveIamPolicy\022\032\n\022full_resource_name\030\001" + - " \001(\t\022k\n\010policies\030\002 \003(\0132Y.google.cloud.as" + - "set.v1.BatchGetEffectiveIamPoliciesRespo" + - "nse.EffectiveIamPolicy.PolicyInfo\032N\n\nPol" + - "icyInfo\022\031\n\021attached_resource\030\001 \001(\t\022%\n\006po" + - "licy\030\002 \001(\0132\025.google.iam.v1.Policy\"\262\003\n\021An" + - "alyzerOrgPolicy\022\031\n\021attached_resource\030\001 \001" + - "(\t\022\030\n\020applied_resource\030\005 \001(\t\022<\n\005rules\030\002 " + - "\003(\0132-.google.cloud.asset.v1.AnalyzerOrgP" + - "olicy.Rule\022\033\n\023inherit_from_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.AnalyzerOrgPolic" + - "y.Rule.StringValuesH\000\022\023\n\tallow_all\030\004 \001(\010" + - "H\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\016allowed_values\030\001 \003(\t\022" + - "\025\n\rdenied_values\030\002 \003(\tB\006\n\004kind\"\221\n\n\033Analy" + - "zerOrgPolicyConstraint\022b\n\031google_defined" + - "_constraint\030\001 \001(\0132=.google.cloud.asset.v" + - "1.AnalyzerOrgPolicyConstraint.Constraint" + - "H\000\022`\n\021custom_constraint\030\002 \001(\0132C.google.c" + - "loud.asset.v1.AnalyzerOrgPolicyConstrain" + - "t.CustomConstraintH\000\032\277\004\n\nConstraint\022\014\n\004n" + - "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descr" + - "iption\030\003 \001(\t\022k\n\022constraint_default\030\004 \001(\016" + - "2O.google.cloud.asset.v1.AnalyzerOrgPoli" + - "cyConstraint.Constraint.ConstraintDefaul" + - "t\022g\n\017list_constraint\030\005 \001(\0132L.google.clou" + - "d.asset.v1.AnalyzerOrgPolicyConstraint.C" + - "onstraint.ListConstraintH\000\022m\n\022boolean_co" + - "nstraint\030\006 \001(\0132O.google.cloud.asset.v1.A" + - "nalyzerOrgPolicyConstraint.Constraint.Bo" + - "oleanConstraintH\000\032=\n\016ListConstraint\022\023\n\013s" + - "upports_in\030\001 \001(\010\022\026\n\016supports_under\030\002 \001(\010" + - "\032\023\n\021BooleanConstraint\"L\n\021ConstraintDefau" + - "lt\022\"\n\036CONSTRAINT_DEFAULT_UNSPECIFIED\020\000\022\t" + - "\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\021\n\017constraint_type\032\320" + - "\003\n\020CustomConstraint\022\014\n\004name\030\001 \001(\t\022\026\n\016res" + - "ource_types\030\002 \003(\t\022d\n\014method_types\030\003 \003(\0162" + - "N.google.cloud.asset.v1.AnalyzerOrgPolic" + - "yConstraint.CustomConstraint.MethodType\022" + - "\021\n\tcondition\030\004 \001(\t\022c\n\013action_type\030\005 \001(\0162" + - "N.google.cloud.asset.v1.AnalyzerOrgPolic" + - "yConstraint.CustomConstraint.ActionType\022" + - "\024\n\014display_name\030\006 \001(\t\022\023\n\013description\030\007 \001" + - "(\t\"M\n\nMethodType\022\033\n\027METHOD_TYPE_UNSPECIF" + - "IED\020\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020" + - "\003\">\n\nActionType\022\033\n\027ACTION_TYPE_UNSPECIFI" + - "ED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002B\027\n\025constraint_" + - "definition\"\224\001\n\031AnalyzeOrgPoliciesRequest" + - "\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\030\n\nconstraint\030\002 \001(" + - "\tB\004\342A\001\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_siz" + - "e\"\370\002\n\032AnalyzeOrgPoliciesResponse\022]\n\022org_" + - "policy_results\030\001 \003(\0132A.google.cloud.asse" + - "t.v1.AnalyzeOrgPoliciesResponse.OrgPolic" + - "yResult\022F\n\nconstraint\030\002 \001(\01322.google.clo" + - "ud.asset.v1.AnalyzerOrgPolicyConstraint\022" + - "\027\n\017next_page_token\030\003 \001(\t\032\231\001\n\017OrgPolicyRe" + - "sult\022E\n\023consolidated_policy\030\001 \001(\0132(.goog" + - "le.cloud.asset.v1.AnalyzerOrgPolicy\022?\n\rp" + - "olicy_bundle\030\002 \003(\0132(.google.cloud.asset." + - "v1.AnalyzerOrgPolicy\"\244\001\n)AnalyzeOrgPolic" + - "yGovernedContainersRequest\022\023\n\005scope\030\001 \001(" + - "\tB\004\342A\001\002\022\030\n\nconstraint\030\002 \001(\tB\004\342A\001\002\022\016\n\006fil" + - "ter\030\003 \001(\t\022\026\n\tpage_size\030\004 \001(\005H\000\210\001\001\022\022\n\npag" + - "e_token\030\005 \001(\tB\014\n\n_page_size\"\311\003\n*AnalyzeO" + - "rgPolicyGovernedContainersResponse\022p\n\023go" + - "verned_containers\030\001 \003(\0132S.google.cloud.a" + - "sset.v1.AnalyzeOrgPolicyGovernedContaine" + - "rsResponse.GovernedContainer\022F\n\nconstrai" + - "nt\030\002 \001(\01322.google.cloud.asset.v1.Analyze" + - "rOrgPolicyConstraint\022\027\n\017next_page_token\030" + - "\003 \001(\t\032\307\001\n\021GovernedContainer\022\032\n\022full_reso" + - "urce_name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022E\n\023conso" + - "lidated_policy\030\003 \001(\0132(.google.cloud.asse" + - "t.v1.AnalyzerOrgPolicy\022?\n\rpolicy_bundle\030" + - "\004 \003(\0132(.google.cloud.asset.v1.AnalyzerOr" + - "gPolicy\"\240\001\n%AnalyzeOrgPolicyGovernedAsse" + - "tsRequest\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\030\n\nconstr" + - "aint\030\002 \001(\tB\004\342A\001\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\"\200\007\n&AnalyzeOrgPolicyGovernedA" + - "ssetsResponse\022d\n\017governed_assets\030\001 \003(\0132K" + - ".google.cloud.asset.v1.AnalyzeOrgPolicyG" + - "overnedAssetsResponse.GovernedAsset\022F\n\nc" + - "onstraint\030\002 \001(\01322.google.cloud.asset.v1." + - "AnalyzerOrgPolicyConstraint\022\027\n\017next_page" + - "_token\030\003 \001(\t\032v\n\020GovernedResource\022\032\n\022full" + - "_resource_name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\017\n\007" + - "project\030\005 \001(\t\022\017\n\007folders\030\006 \003(\t\022\024\n\014organi" + - "zation\030\007 \001(\t\032\215\001\n\021GovernedIamPolicy\022\031\n\021at" + - "tached_resource\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025." + - "google.iam.v1.Policy\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\206\003\n" + - "\rGovernedAsset\022k\n\021governed_resource\030\001 \001(" + - "\0132N.google.cloud.asset.v1.AnalyzeOrgPoli" + - "cyGovernedAssetsResponse.GovernedResourc" + - "eH\000\022n\n\023governed_iam_policy\030\002 \001(\0132O.googl" + - "e.cloud.asset.v1.AnalyzeOrgPolicyGoverne" + - "dAssetsResponse.GovernedIamPolicyH\000\022E\n\023c" + - "onsolidated_policy\030\003 \001(\0132(.google.cloud." + - "asset.v1.AnalyzerOrgPolicy\022?\n\rpolicy_bun" + - "dle\030\004 \003(\0132(.google.cloud.asset.v1.Analyz" + - "erOrgPolicyB\020\n\016governed_asset*\220\001\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\005\022\020\n\014OS_INVENTORY\020\006\022\020" + - "\n\014RELATIONSHIP\020\0072\321 \n\014AssetService\022\336\001\n\014Ex" + - "portAssets\022*.google.cloud.asset.v1.Expor" + - "tAssetsRequest\032\035.google.longrunning.Oper" + - "ation\"\202\001\312AW\n*google.cloud.asset.v1.Expor" + - "tAssetsResponse\022)google.cloud.asset.v1.E" + - "xportAssetsRequest\202\323\344\223\002\"\"\035/v1/{parent=*/" + - "*}:exportAssets:\001*\022\213\001\n\nListAssets\022(.goog" + - "le.cloud.asset.v1.ListAssetsRequest\032).go" + - "ogle.cloud.asset.v1.ListAssetsResponse\"(" + - "\332A\006parent\202\323\344\223\002\031\022\027/v1/{parent=*/*}/assets" + - "\022\262\001\n\025BatchGetAssetsHistory\0223.google.clou" + - "d.asset.v1.BatchGetAssetsHistoryRequest\032" + - "4.google.cloud.asset.v1.BatchGetAssetsHi" + - "storyResponse\".\202\323\344\223\002(\022&/v1/{parent=*/*}:" + - "batchGetAssetsHistory\022\177\n\nCreateFeed\022(.go" + - "ogle.cloud.asset.v1.CreateFeedRequest\032\033." + - "google.cloud.asset.v1.Feed\"*\332A\006parent\202\323\344" + - "\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\022t\n\007GetFee" + - "d\022%.google.cloud.asset.v1.GetFeedRequest" + - "\032\033.google.cloud.asset.v1.Feed\"%\332A\004name\202\323" + - "\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\022\207\001\n\tListFee" + - "ds\022\'.google.cloud.asset.v1.ListFeedsRequ" + - "est\032(.google.cloud.asset.v1.ListFeedsRes" + - "ponse\"\'\332A\006parent\202\323\344\223\002\030\022\026/v1/{parent=*/*}" + - "/feeds\022\202\001\n\nUpdateFeed\022(.google.cloud.ass" + - "et.v1.UpdateFeedRequest\032\033.google.cloud.a" + - "sset.v1.Feed\"-\332A\004feed\202\323\344\223\002 2\033/v1/{feed.n" + - "ame=*/*/feeds/*}:\001*\022u\n\nDeleteFeed\022(.goog" + - "le.cloud.asset.v1.DeleteFeedRequest\032\026.go" + - "ogle.protobuf.Empty\"%\332A\004name\202\323\344\223\002\030*\026/v1/", - "{name=*/*/feeds/*}\022\277\001\n\022SearchAllResource" + - "s\0220.google.cloud.asset.v1.SearchAllResou" + - "rcesRequest\0321.google.cloud.asset.v1.Sear" + - "chAllResourcesResponse\"D\332A\027scope,query,a" + - "sset_types\202\323\344\223\002$\022\"/v1/{scope=*/*}:search" + - "AllResources\022\273\001\n\024SearchAllIamPolicies\0222." + - "google.cloud.asset.v1.SearchAllIamPolici" + - "esRequest\0323.google.cloud.asset.v1.Search" + - "AllIamPoliciesResponse\":\332A\013scope,query\202\323" + - "\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPolici" + - "es\022\254\001\n\020AnalyzeIamPolicy\022..google.cloud.a" + - "sset.v1.AnalyzeIamPolicyRequest\032/.google" + - ".cloud.asset.v1.AnalyzeIamPolicyResponse" + - "\"7\202\323\344\223\0021\022//v1/{analysis_query.scope=*/*}" + - ":analyzeIamPolicy\022\270\002\n\033AnalyzeIamPolicyLo" + - "ngrunning\0229.google.cloud.asset.v1.Analyz" + - "eIamPolicyLongrunningRequest\032\035.google.lo" + - "ngrunning.Operation\"\276\001\312Av\n9google.cloud." + - "asset.v1.AnalyzeIamPolicyLongrunningResp" + - "onse\0229google.cloud.asset.v1.AnalyzeIamPo" + - "licyLongrunningMetadata\202\323\344\223\002?\":/v1/{anal" + - "ysis_query.scope=*/*}:analyzeIamPolicyLo" + - "ngrunning:\001*\022\214\001\n\013AnalyzeMove\022).google.cl" + - "oud.asset.v1.AnalyzeMoveRequest\032*.google" + - ".cloud.asset.v1.AnalyzeMoveResponse\"&\202\323\344" + - "\223\002 \022\036/v1/{resource=*/*}:analyzeMove\022\215\001\n\013" + - "QueryAssets\022).google.cloud.asset.v1.Quer" + - "yAssetsRequest\032*.google.cloud.asset.v1.Q" + - "ueryAssetsResponse\"\'\202\323\344\223\002!\"\034/v1/{parent=" + - "*/*}:queryAssets:\001*\022\275\001\n\020CreateSavedQuery" + - "\022..google.cloud.asset.v1.CreateSavedQuer" + - "yRequest\032!.google.cloud.asset.v1.SavedQu" + - "ery\"V\332A!parent,saved_query,saved_query_i" + - "d\202\323\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013" + - "saved_query\022\215\001\n\rGetSavedQuery\022+.google.c" + - "loud.asset.v1.GetSavedQueryRequest\032!.goo" + - "gle.cloud.asset.v1.SavedQuery\",\332A\004name\202\323" + - "\344\223\002\037\022\035/v1/{name=*/*/savedQueries/*}\022\243\001\n\020" + - "ListSavedQueries\022..google.cloud.asset.v1" + - ".ListSavedQueriesRequest\032/.google.cloud." + - "asset.v1.ListSavedQueriesResponse\".\332A\006pa" + - "rent\202\323\344\223\002\037\022\035/v1/{parent=*/*}/savedQuerie" + - "s\022\277\001\n\020UpdateSavedQuery\022..google.cloud.as" + - "set.v1.UpdateSavedQueryRequest\032!.google." + - "cloud.asset.v1.SavedQuery\"X\332A\027saved_quer" + - "y,update_mask\202\323\344\223\00282)/v1/{saved_query.na" + - "me=*/*/savedQueries/*}:\013saved_query\022\210\001\n\020" + - "DeleteSavedQuery\022..google.cloud.asset.v1" + - ".DeleteSavedQueryRequest\032\026.google.protob" + - "uf.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1/{name=*/*/s" + - "avedQueries/*}\022\316\001\n\034BatchGetEffectiveIamP" + - "olicies\022:.google.cloud.asset.v1.BatchGet" + - "EffectiveIamPoliciesRequest\032;.google.clo" + - "ud.asset.v1.BatchGetEffectiveIamPolicies" + - "Response\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effect" + - "iveIamPolicies:batchGet\022\277\001\n\022AnalyzeOrgPo" + - "licies\0220.google.cloud.asset.v1.AnalyzeOr" + - "gPoliciesRequest\0321.google.cloud.asset.v1" + - ".AnalyzeOrgPoliciesResponse\"D\332A\027scope,co" + - "nstraint,filter\202\323\344\223\002$\022\"/v1/{scope=*/*}:a" + - "nalyzeOrgPolicies\022\377\001\n\"AnalyzeOrgPolicyGo" + - "vernedContainers\022@.google.cloud.asset.v1" + - ".AnalyzeOrgPolicyGovernedContainersReque" + - "st\032A.google.cloud.asset.v1.AnalyzeOrgPol" + - "icyGovernedContainersResponse\"T\332A\027scope," + - "constraint,filter\202\323\344\223\0024\0222/v1/{scope=*/*}" + - ":analyzeOrgPolicyGovernedContainers\022\357\001\n\036" + - "AnalyzeOrgPolicyGovernedAssets\022<.google." + - "cloud.asset.v1.AnalyzeOrgPolicyGovernedA" + - "ssetsRequest\032=.google.cloud.asset.v1.Ana" + - "lyzeOrgPolicyGovernedAssetsResponse\"P\332A\027" + - "scope,constraint,filter\202\323\344\223\0020\022./v1/{scop" + - "e=*/*}:analyzeOrgPolicyGovernedAssets\032M\312" + - "A\031cloudasset.googleapis.com\322A.https://ww" + - "w.googleapis.com/auth/cloud-platformB\221\001\n" + - "\031com.google.cloud.asset.v1B\021AssetService" + - "ProtoP\001Z/cloud.google.com/go/asset/apiv1" + - "/assetpb;assetpb\252\002\025Google.Cloud.Asset.V1" + - "\312\002\025Google\\Cloud\\Asset\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1.AssetProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.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 86b030451795..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,37 +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 0f11713b4ab5..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.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 fa13254131d4..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\"\253\001\n\031SearchAllResourcesReques" + - "t\022\023\n\005scope\030\001 \001(\tB\004\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342" + - "A\001\001\022\031\n\013asset_types\030\003 \003(\tB\004\342A\001\001\022\027\n\tpage_s" + - "ize\030\004 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\005 \001(\tB\004\342A\001" + - "\001\022\026\n\010order_by\030\n \001(\tB\004\342A\001\001\"~\n\032SearchAllRe" + - "sourcesResponse\022G\n\007results\030\001 \003(\01326.googl" + - "e.cloud.asset.v1p1beta1.StandardResource" + - "Metadata\022\027\n\017next_page_token\030\002 \001(\t\"z\n\033Sea" + - "rchAllIamPoliciesRequest\022\023\n\005scope\030\001 \001(\tB" + - "\004\342A\001\002\022\023\n\005query\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_size\030" + - "\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A\001\001\"}\n" + - "\034SearchAllIamPoliciesResponse\022D\n\007results" + - "\030\001 \003(\01323.google.cloud.asset.v1p1beta1.Ia" + - "mPolicySearchResult\022\027\n\017next_page_token\030\002" + - " \001(\t2\211\004\n\014AssetService\022\325\001\n\022SearchAllResou" + - "rces\0227.google.cloud.asset.v1p1beta1.Sear" + - "chAllResourcesRequest\0328.google.cloud.ass" + - "et.v1p1beta1.SearchAllResourcesResponse\"" + - "L\332A\027scope,query,asset_types\202\323\344\223\002,\022*/v1p1" + - "beta1/{scope=*/*}/resources:searchAll\022\321\001" + - "\n\024SearchAllIamPolicies\0229.google.cloud.as" + - "set.v1p1beta1.SearchAllIamPoliciesReques" + - "t\032:.google.cloud.asset.v1p1beta1.SearchA" + - "llIamPoliciesResponse\"B\332A\013scope,query\202\323\344" + - "\223\002.\022,/v1p1beta1/{scope=*/*}/iamPolicies:" + - "searchAll\032M\312A\031cloudasset.googleapis.com\322" + - "A.https://www.googleapis.com/auth/cloud-" + - "platformB\255\001\n com.google.cloud.asset.v1p1" + - "beta1B\021AssetServiceProtoP\001Z6cloud.google" + - ".com/go/asset/apiv1p1beta1/assetpb;asset" + - "pb\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goog" + - "le\\Cloud\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/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 7a3b24263abf..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 java.lang.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 java.lang.String methodName; - - AssetServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (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 ca7014d02f83..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,138 +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\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\"\216\001\n\rTemporalAsset\0228" + - "\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p2" + - "beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005ass" + - "et\030\003 \001(\0132#.google.cloud.asset.v1p2beta1." + - "Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132" + - "\032.google.protobuf.Timestamp\022,\n\010end_time\030" + - "\002 \001(\0132\032.google.protobuf.Timestamp\"\220\004\n\005As" + - "set\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.v1p" + - "2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.go" + - "ogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\022N\n" + - "\raccess_policy\030\007 \001(\01325.google.identity.a" + - "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + - "\014access_level\030\010 \001(\01324.google.identity.ac" + - "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + - "ervice_perimeter\030\t \001(\01329.google.identity" + - ".accesscontextmanager.v1.ServicePerimete" + - "rH\000\0225\n\norg_policy\030\n \003(\0132!.google.cloud.o" + - "rgpolicy.v1.Policy:\'\352A$\n\037cloudasset.goog" + - "leapis.com/Asset\022\001*B\027\n\025access_context_po" + - "licy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026di" + - "scovery_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\006pare" + - "nt\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf" + - ".StructB\251\001\n com.google.cloud.asset.v1p2b" + - "eta1B\nAssetProtoP\001Z6cloud.google.com/go/" + - "asset/apiv1p2beta1/assetpb;assetpb\370\001\001\252\002\034" + - "Google.Cloud.Asset.V1P2Beta1\312\002\034Google\\Cl" + - "oud\\Asset\\V1p2beta1b\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_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", "AccessPolicy", "AccessLevel", "ServicePerimeter", "OrgPolicy", "AccessContextPolicy", }); - 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.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(); - 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 d40ecef9e27f..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,276 +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_ExportAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable; - 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\032\037google/protobuf/t" + - "imestamp.proto\"\210\001\n\024ExportAssetsResponse\022" + - "-\n\tread_time\030\001 \001(\0132\032.google.protobuf.Tim" + - "estamp\022A\n\routput_config\030\002 \001(\0132*.google.c" + - "loud.asset.v1p2beta1.OutputConfig\"\\\n\035Bat" + - "chGetAssetsHistoryResponse\022;\n\006assets\030\001 \003" + - "(\0132+.google.cloud.asset.v1p2beta1.Tempor" + - "alAsset\"x\n\021CreateFeedRequest\022\024\n\006parent\030\001" + - " \001(\tB\004\342A\001\002\022\025\n\007feed_id\030\002 \001(\tB\004\342A\001\002\0226\n\004fee" + - "d\030\003 \001(\0132\".google.cloud.asset.v1p2beta1.F" + - "eedB\004\342A\001\002\"G\n\016GetFeedRequest\0225\n\004name\030\001 \001(" + - "\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com/Fe" + - "ed\"(\n\020ListFeedsRequest\022\024\n\006parent\030\001 \001(\tB\004" + - "\342A\001\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\013" + - "2\".google.cloud.asset.v1p2beta1.Feed\"\202\001\n" + - "\021UpdateFeedRequest\0226\n\004feed\030\001 \001(\0132\".googl" + - "e.cloud.asset.v1p2beta1.FeedB\004\342A\001\002\0225\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\004\342A\001\002\"J\n\021DeleteFeedRequest\0225\n\004name\030\001" + - " \001(\tB\'\342A\001\002\372A \n\036cloudasset.googleapis.com" + - "/Feed\"f\n\014OutputConfig\022G\n\017gcs_destination" + - "\030\001 \001(\0132,.google.cloud.asset.v1p2beta1.Gc" + - "sDestinationH\000B\r\n\013destination\"-\n\016GcsDest" + - "ination\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021" + - "PubsubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020Feed" + - "OutputConfig\022M\n\022pubsub_destination\030\001 \001(\013" + - "2/.google.cloud.asset.v1p2beta1.PubsubDe" + - "stinationH\000B\r\n\013destination\"\353\002\n\004Feed\022\022\n\004n" + - "ame\030\001 \001(\tB\004\342A\001\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013" + - "asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162" + - ").google.cloud.asset.v1p2beta1.ContentTy" + - "pe\022P\n\022feed_output_config\030\005 \001(\0132..google." + - "cloud.asset.v1p2beta1.FeedOutputConfigB\004" + - "\342A\001\002:\221\001\352A\215\001\n\036cloudasset.googleapis.com/F" + - "eed\022\037projects/{project}/feeds/{feed}\022\035fo" + - "lders/{folder}/feeds/{feed}\022)organizatio" + - "ns/{organization}/feeds/{feed} \001*I\n\013Cont" + - "entType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n" + - "\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetSer" + - "vice\022\224\001\n\nCreateFeed\022/.google.cloud.asset" + - ".v1p2beta1.CreateFeedRequest\032\".google.cl" + - "oud.asset.v1p2beta1.Feed\"1\332A\006parent\202\323\344\223\002" + - "\"\"\035/v1p2beta1/{parent=*/*}/feeds:\001*\022\211\001\n\007" + - "GetFeed\022,.google.cloud.asset.v1p2beta1.G" + - "etFeedRequest\032\".google.cloud.asset.v1p2b" + - "eta1.Feed\",\332A\004name\202\323\344\223\002\037\022\035/v1p2beta1/{na" + - "me=*/*/feeds/*}\022\234\001\n\tListFeeds\022..google.c" + - "loud.asset.v1p2beta1.ListFeedsRequest\032/." + - "google.cloud.asset.v1p2beta1.ListFeedsRe" + - "sponse\".\332A\006parent\202\323\344\223\002\037\022\035/v1p2beta1/{par" + - "ent=*/*}/feeds\022\227\001\n\nUpdateFeed\022/.google.c" + - "loud.asset.v1p2beta1.UpdateFeedRequest\032\"" + - ".google.cloud.asset.v1p2beta1.Feed\"4\332A\004f" + - "eed\202\323\344\223\002\'2\"/v1p2beta1/{feed.name=*/*/fee" + - "ds/*}:\001*\022\203\001\n\nDeleteFeed\022/.google.cloud.a" + - "sset.v1p2beta1.DeleteFeedRequest\032\026.googl" + - "e.protobuf.Empty\",\332A\004name\202\323\344\223\002\037*\035/v1p2be" + - "ta1/{name=*/*/feeds/*}\032M\312A\031cloudasset.go" + - "ogleapis.com\322A.https://www.googleapis.co" + - "m/auth/cloud-platformB\255\001\n com.google.clo" + - "ud.asset.v1p2beta1B\021AssetServiceProtoP\001Z" + - "6cloud.google.com/go/asset/apiv1p2beta1/" + - "assetpb;assetpb\252\002\034Google.Cloud.Asset.V1P" + - "2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006p" + - "roto3" - }; - 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(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_ExportAssetsResponse_descriptor, - new java.lang.String[] { "ReadTime", "OutputConfig", }); - internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_BatchGetAssetsHistoryResponse_descriptor, - new java.lang.String[] { "Assets", }); - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(); - 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/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 2a3f38c3ebd2..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\"\371\001\n\021List" + - "AssetsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037" + - "cloudasset.googleapis.com/Asset\022-\n\tread_" + - "time\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023" + - "\n\013asset_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(" + - "\0162).google.cloud.asset.v1p5beta1.Content" + - "Type\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\006ass" + - "ets\030\002 \003(\0132#.google.cloud.asset.v1p5beta1" + - ".Asset\022\027\n\017next_page_token\030\003 \001(\t*l\n\013Conte" + - "ntType\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010" + - "RESOURCE\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.v1p5b" + - "eta1.ListAssetsRequest\0320.google.cloud.as" + - "set.v1p5beta1.ListAssetsResponse\"/\332A\006par" + - "ent\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*}/asset" + - "s\032M\312A\031cloudasset.googleapis.com\322A.https:" + - "//www.googleapis.com/auth/cloud-platform" + - "B\255\001\n com.google.cloud.asset.v1p5beta1B\021A" + - "ssetServiceProtoP\001Z6cloud.google.com/go/" + - "asset/apiv1p5beta1/assetpb;assetpb\252\002\034Goo" + - "gle.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 327ea0928a50..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,200 +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\"\271\002\n\023ExportAsse" + - "tsRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037clou" + - "dasset.googleapis.com/Asset\022-\n\tread_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013as" + - "set_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162)." + - "google.cloud.asset.v1p7beta1.ContentType" + - "\022G\n\routput_config\030\005 \001(\0132*.google.cloud.a" + - "sset.v1p7beta1.OutputConfigB\004\342A\001\002\022\032\n\022rel" + - "ationship_types\030\006 \003(\t\"\313\001\n\024ExportAssetsRe" + - "sponse\022-\n\tread_time\030\001 \001(\0132\032.google.proto" + - "buf.Timestamp\022A\n\routput_config\030\002 \001(\0132*.g" + - "oogle.cloud.asset.v1p7beta1.OutputConfig" + - "\022A\n\routput_result\030\003 \001(\0132*.google.cloud.a" + - "sset.v1p7beta1.OutputResult\"\271\001\n\014OutputCo" + - "nfig\022G\n\017gcs_destination\030\001 \001(\0132,.google.c" + - "loud.asset.v1p7beta1.GcsDestinationH\000\022Q\n" + - "\024bigquery_destination\030\002 \001(\01321.google.clo" + - "ud.asset.v1p7beta1.BigQueryDestinationH\000" + - "B\r\n\013destination\"]\n\014OutputResult\022C\n\ngcs_r" + - "esult\030\001 \001(\0132-.google.cloud.asset.v1p7bet" + - "a1.GcsOutputResultH\000B\010\n\006result\"\037\n\017GcsOut" + - "putResult\022\014\n\004uris\030\001 \003(\t\"C\n\016GcsDestinatio" + - "n\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014" + - "\n\nobject_uri\"\275\001\n\023BigQueryDestination\022\025\n\007" + - "dataset\030\001 \001(\tB\004\342A\001\002\022\023\n\005table\030\002 \001(\tB\004\342A\001\002" + - "\022\r\n\005force\030\003 \001(\010\022C\n\016partition_spec\030\004 \001(\0132" + - "+.google.cloud.asset.v1p7beta1.Partition" + - "Spec\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.Par" + - "titionSpec.PartitionKey\"N\n\014PartitionKey\022" + - "\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_T" + - "IME\020\001\022\020\n\014REQUEST_TIME\020\002*~\n\013ContentType\022\034" + - "\n\030CONTENT_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\rAC" + - "CESS_POLICY\020\005\022\020\n\014RELATIONSHIP\020\0072\332\002\n\014Asse" + - "tService\022\372\001\n\014ExportAssets\0221.google.cloud" + - ".asset.v1p7beta1.ExportAssetsRequest\032\035.g" + - "oogle.longrunning.Operation\"\227\001\312Ae\n1googl" + - "e.cloud.asset.v1p7beta1.ExportAssetsResp" + - "onse\0220google.cloud.asset.v1p7beta1.Expor" + - "tAssetsRequest\202\323\344\223\002)\"$/v1p7beta1/{parent" + - "=*/*}:exportAssets:\001*\032M\312A\031cloudasset.goo" + - "gleapis.com\322A.https://www.googleapis.com" + - "/auth/cloud-platformB\255\001\n com.google.clou" + - "d.asset.v1p7beta1B\021AssetServiceProtoP\001Z6" + - "cloud.google.com/go/asset/apiv1p7beta1/a" + - "ssetpb;assetpb\252\002\034Google.Cloud.Asset.V1P7" + - "Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta1b\006pr" + - "oto3" - }; - 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) -}